Allow up to 16 gamepads with Sunshine hosts

This commit is contained in:
Cameron Gutman 2023-06-18 16:39:24 -05:00
commit 7a719aa886
3 changed files with 6 additions and 4 deletions

View file

@ -31,7 +31,9 @@ struct GamepadState {
unsigned char lt, rt;
};
#define MAX_GAMEPADS 4
// activeGamepadMask is a short, so we're bounded by the number of mask bits
#define MAX_GAMEPADS 16
#define MAX_FINGERS 2
#define GAMEPAD_HAPTIC_METHOD_NONE 0