Relabel back paddles as left or right
The sequence order of the four paddles is not obvious, with SDL and Xbox controllers swapping the order of P2 and P3 relative to each other. If we group them into left and right, then it becomes more obvious. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
1 parent
be884f0c95
commit
efe15588d5
13 files changed
+128
-120
No files matched your search
@@ -940,19 +940,19 @@ typedef SDL_ControllerTouchpadEvent, SDL_GamepadTouchpadEvent;
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_PADDLE1
|
||||
+ SDL_GAMEPAD_BUTTON_PADDLE1
|
||||
+ SDL_GAMEPAD_BUTTON_RIGHT_PADDLE1
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_PADDLE2
|
||||
+ SDL_GAMEPAD_BUTTON_PADDLE2
|
||||
+ SDL_GAMEPAD_BUTTON_LEFT_PADDLE1
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_PADDLE3
|
||||
+ SDL_GAMEPAD_BUTTON_PADDLE3
|
||||
+ SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_PADDLE4
|
||||
+ SDL_GAMEPAD_BUTTON_PADDLE4
|
||||
+ SDL_GAMEPAD_BUTTON_LEFT_PADDLE2
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_RIGHTSHOULDER
|
||||
|
||||
Reference in new issue
Block a user