mirror of https://github.com/mgba-emu/mgba.git
SDL: Really fix the build this time
This commit is contained in:
parent
ee1a860ac4
commit
b5a2f62c88
|
@ -899,12 +899,14 @@ static const char* const buttonNamesXbox360[SDL_CONTROLLER_BUTTON_MAX] = {
|
|||
[SDL_CONTROLLER_BUTTON_RIGHTSTICK] = "RS",
|
||||
[SDL_CONTROLLER_BUTTON_LEFTSHOULDER] = "LB",
|
||||
[SDL_CONTROLLER_BUTTON_RIGHTSHOULDER] = "RB",
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
||||
[SDL_CONTROLLER_BUTTON_MISC1] = "Misc",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE1] = "P1",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE2] = "P2",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE3] = "P3",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE4] = "P4",
|
||||
[SDL_CONTROLLER_BUTTON_TOUCHPAD] = "Touch",
|
||||
#endif
|
||||
};
|
||||
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 12)
|
||||
|
@ -986,12 +988,14 @@ static const char* const buttonNamesGeneric[SDL_CONTROLLER_BUTTON_MAX] = {
|
|||
[SDL_CONTROLLER_BUTTON_RIGHTSTICK] = "RS",
|
||||
[SDL_CONTROLLER_BUTTON_LEFTSHOULDER] = "LB",
|
||||
[SDL_CONTROLLER_BUTTON_RIGHTSHOULDER] = "RB",
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
||||
[SDL_CONTROLLER_BUTTON_MISC1] = "Misc",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE1] = "P1",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE2] = "P2",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE3] = "P3",
|
||||
[SDL_CONTROLLER_BUTTON_PADDLE4] = "P4",
|
||||
[SDL_CONTROLLER_BUTTON_TOUCHPAD] = "Touch",
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue