From 88ee1ca7f7800d39c83930ec430bba7876728b7c Mon Sep 17 00:00:00 2001 From: Richard Harrison Date: Sun, 21 May 2023 22:18:07 +0100 Subject: [PATCH] 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/ --- 3rdparty/joystick/FlightGear_js.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/joystick/FlightGear_js.h b/3rdparty/joystick/FlightGear_js.h index b6183cbdf..b7c9d24d1 100644 --- a/3rdparty/joystick/FlightGear_js.h +++ b/3rdparty/joystick/FlightGear_js.h @@ -29,7 +29,7 @@ #include #include -#define _JS_MAX_AXES 16 +#define _JS_MAX_AXES 32 #define _JS_MAX_BUTTONS 32 #define _JS_MAX_HATS 4