Mercurial > repos > blastem
diff controller_info.c @ 2529:a6687a6fb69d
Merge
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 25 Nov 2024 22:30:32 -0800 |
parents | 9c6f53425140 |
children | 8675663d4984 |
line wrap: on
line diff
--- a/controller_info.c Mon Nov 25 22:26:45 2024 -0800 +++ b/controller_info.c Mon Nov 25 22:30:32 2024 -0800 @@ -328,7 +328,7 @@ const char *get_button_label(controller_info *info, int button) { #ifndef USE_FBDEV -#if SDL_VERSION_ATLEAST(2,0,12) +#if SDL_VERSION_ATLEAST(2,0,14) if (info->subtype == SUBTYPE_XBOX_ELITE && button >= SDL_CONTROLLER_BUTTON_PADDLE1 && button <= SDL_CONTROLLER_BUTTON_PADDLE4) { static char const * names[] = {"Paddle 1", "Paddle 2", "Paddle 3", "Paddle 4"}; return names[button - SDL_CONTROLLER_BUTTON_PADDLE1];