1
0
Fork 0
Increased maximum number of Joystick axes to 32.

NOTE: this will only result in more axes when the underlying hardware supports it; so no change in Windows; Linux probably will work (as it uses an ioctl to get the number from the driver), but this is untested.

Note sure what will happen on OSX.

ref: https://sourceforge.net/p/flightgear/codetickets/
This commit is contained in:
Richard Harrison 2023-05-21 22:18:07 +01:00
parent d59251efe2
commit 88ee1ca7f7

View file

@ -29,7 +29,7 @@
#include <cstring>
#include <cstdlib>
#define _JS_MAX_AXES 16
#define _JS_MAX_AXES 32
#define _JS_MAX_BUTTONS 32
#define _JS_MAX_HATS 4