refs Ticket #2766
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:
parent
d59251efe2
commit
88ee1ca7f7
1 changed files with 1 additions and 1 deletions
2
3rdparty/joystick/FlightGear_js.h
vendored
2
3rdparty/joystick/FlightGear_js.h
vendored
|
@ -29,7 +29,7 @@
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#define _JS_MAX_AXES 16
|
#define _JS_MAX_AXES 32
|
||||||
#define _JS_MAX_BUTTONS 32
|
#define _JS_MAX_BUTTONS 32
|
||||||
#define _JS_MAX_HATS 4
|
#define _JS_MAX_HATS 4
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue