The relevant block of code for the Space Navigator and related devices
seems to be
bool LLViewerJoystick::isLikeSpaceNavigator() const
{
#if LIB_NDOF    
        return (isJoystickInitialized()
                        && (strncmp(mNdofDev->product, "SpaceNavigator", 14) == 0
                                || strncmp(mNdofDev->product, "SpaceExplorer", 
13) == 0
                                || strncmp(mNdofDev->product, "SpaceTraveler", 
13) == 0
                                || strncmp(mNdofDev->product, "SpacePilot", 10) 
== 0));
#else
        return false;
#endif
}

So if your device is not one of those names it probably won't be
recognized as a Space Navigator-like device.  I

It would be possible to add its name to this list and then to see if
it works with the viewer.

If there are more devices like the space navigator out there moving
all these names to an xml file would make it much easier to add
devices to the list.

-Jonathan
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to