mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Added miscellaneous gamepad buttons for additional macro buttons on some controllers
This commit is contained in:
parent
d6a48e4958
commit
cb70e972e3
7 changed files with 49 additions and 10 deletions
|
|
@ -649,6 +649,9 @@ static const char *gamepad_button_names[] = {
|
|||
"Right Paddle 2",
|
||||
"Left Paddle 2",
|
||||
"Touchpad",
|
||||
"Misc2",
|
||||
"Misc3",
|
||||
"Misc4",
|
||||
};
|
||||
SDL_COMPILE_TIME_ASSERT(gamepad_button_names, SDL_arraysize(gamepad_button_names) == SDL_GAMEPAD_BUTTON_MAX);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue