mirror of
https://github.com/yawut/SDL.git
synced 2026-06-02 22:24:34 -05:00
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.
This commit is contained in:
parent
f5b7a7d7db
commit
9c3a98c522
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user