From 22eacc8a3d9e1cef7bfb747f9a38d061fededc29 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 24 Aug 2012 10:03:05 -0700 Subject: [PATCH] Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan Brad Smith 2012-08-01 20:10:19 PDT The attached patch from the OpenBSD ports tree is to increase the number of uhid devices to scan for joysticks. It's somewhat easy to exhaust the default number of devices which are scanned. --- src/joystick/bsd/SDL_sysjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/bsd/SDL_sysjoystick.c b/src/joystick/bsd/SDL_sysjoystick.c index f46896c25..2e60ecd0f 100755 --- a/src/joystick/bsd/SDL_sysjoystick.c +++ b/src/joystick/bsd/SDL_sysjoystick.c @@ -76,7 +76,7 @@ #include "../SDL_sysjoystick.h" #include "../SDL_joystick_c.h" -#define MAX_UHID_JOYS 4 +#define MAX_UHID_JOYS 16 #define MAX_JOY_JOYS 2 #define MAX_JOYS (MAX_UHID_JOYS + MAX_JOY_JOYS)