1
0
Fork 0
flightgear/3rdparty
Florent Rougon df352346ad jsWindows: fail gracefully when joyGetDevCaps() returns undocumented values
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/
2019-05-04 08:58:15 +02:00
..
cjson Initial commit for mongoose httpd 2014-03-06 13:19:15 +01:00
cppunit TestSuite: Added the Autotools auto-generated CppUnit config-auto.h file. 2018-03-23 17:26:05 +01:00
flite_hts_engine Render voice to memory, no more temp files. 2014-05-07 20:09:15 +02:00
hidapi Enable HID-input on Windows 2019-04-27 18:54:13 +01:00
hts_engine_API Fix for FreeBSD and a typo 2016-03-12 20:55:46 +01:00
iaxclient VS2015 compatability fixes. 2016-06-01 22:58:03 +01:00
joystick jsWindows: fail gracefully when joyGetDevCaps() returns undocumented values 2019-05-04 08:58:15 +02:00
mongoose Revert "Pull in latest mongoose HEAD" 2015-06-12 11:52:10 +02:00
sqlite3 Test helper CMake macro. 2017-03-26 12:15:29 +01:00
CMakeLists.txt Import PLIB JS code into FlightGear 2018-05-03 00:02:09 +01:00