df352346ad
According to Pfeffer's report[1] and many other messages on the Internet, joyGetDevCaps() can return the (so far) undocumented value 165, which some say is JOYERR_PARMS. Since this is a valid return code for joyGetPosEx() (not joyGetDevCaps()!), handle a few return codes from that function too, and don't throw an exception when joyGetDevCaps()'s return value is not one of the documented ones (we simply can't trust its documentation). [1] https://sourceforge.net/p/flightgear/mailman/message/36657149/ |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
js.cxx | ||
js.h | ||
jsBSD.cxx | ||
jsLinux.cxx | ||
jsMacOSX.cxx | ||
jsNone.cxx | ||
jsWindows.cxx |