Fixed build with older macOS SDK

This commit is contained in:
Sam Lantinga 2023-11-16 21:01:28 -08:00
parent 238987df3b
commit 666301f9f9
1 changed files with 13 additions and 13 deletions

View File

@ -47,24 +47,24 @@ typedef struct joystick_hwdata
int nbuttons;
int nhats;
Uint32 button_mask;
BOOL is_xbox;
BOOL is_ps4;
BOOL is_ps5;
BOOL is_switch_pro;
BOOL is_switch_joycon_pair;
BOOL is_switch_joyconL;
BOOL is_switch_joyconR;
BOOL is_stadia;
BOOL is_backbone_one;
SDL_bool is_xbox;
SDL_bool is_ps4;
SDL_bool is_ps5;
SDL_bool is_switch_pro;
SDL_bool is_switch_joycon_pair;
SDL_bool is_switch_joyconL;
SDL_bool is_switch_joyconR;
SDL_bool is_stadia;
SDL_bool is_backbone_one;
int is_siri_remote;
NSArray *axes;
NSArray *buttons;
BOOL has_dualshock_touchpad;
BOOL has_xbox_paddles;
BOOL has_xbox_share_button;
BOOL has_nintendo_buttons;
SDL_bool has_dualshock_touchpad;
SDL_bool has_xbox_paddles;
SDL_bool has_xbox_share_button;
SDL_bool has_nintendo_buttons;
struct joystick_hwdata *next;
} joystick_hwdata;