mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-14 06:18:49 +00:00
Even more miscellaneous gamepad buttons!
This commit is contained in:
@@ -652,6 +652,8 @@ static const char *gamepad_button_names[] = {
|
||||
"Misc2",
|
||||
"Misc3",
|
||||
"Misc4",
|
||||
"Misc5",
|
||||
"Misc6",
|
||||
};
|
||||
SDL_COMPILE_TIME_ASSERT(gamepad_button_names, SDL_arraysize(gamepad_button_names) == SDL_GAMEPAD_BUTTON_MAX);
|
||||
|
||||
|
||||
@@ -785,6 +785,8 @@ static const char *GetBindingInstruction(void)
|
||||
case SDL_GAMEPAD_BUTTON_MISC2:
|
||||
case SDL_GAMEPAD_BUTTON_MISC3:
|
||||
case SDL_GAMEPAD_BUTTON_MISC4:
|
||||
case SDL_GAMEPAD_BUTTON_MISC5:
|
||||
case SDL_GAMEPAD_BUTTON_MISC6:
|
||||
return "Press any additional button not already bound";
|
||||
case SDL_GAMEPAD_ELEMENT_AXIS_LEFTX_NEGATIVE:
|
||||
return "Move the left thumbstick to the left";
|
||||
|
||||
Reference in New Issue
Block a user