Skip to content

Commit 879849e

Browse files
committed
remove default paddle button mappings
Turns out these are inaccessible in Steam's game mode and instead Steam forces you to map them to something else. Therefore users can just map them to their respective keyboard keys.
1 parent 65caf00 commit 879849e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

rpi/ui/ui_sdl.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ void init_gamepad()
8585
button_map[SDL_CONTROLLER_BUTTON_DPAD_DOWN] = VANILLA_BTN_DOWN;
8686
button_map[SDL_CONTROLLER_BUTTON_DPAD_LEFT] = VANILLA_BTN_LEFT;
8787
button_map[SDL_CONTROLLER_BUTTON_DPAD_RIGHT] = VANILLA_BTN_RIGHT;
88-
button_map[SDL_CONTROLLER_BUTTON_PADDLE1] = VANILLA_BTN_HOME;
89-
button_map[SDL_CONTROLLER_BUTTON_PADDLE2] = VPI_ACTION_DISCONNECT;
90-
button_map[SDL_CONTROLLER_BUTTON_PADDLE3] = VPI_ACTION_SCREENSHOT;
91-
button_map[SDL_CONTROLLER_BUTTON_PADDLE4] = VPI_ACTION_TOGGLE_RECORDING;
9288
axis_map[SDL_CONTROLLER_AXIS_LEFTX] = VANILLA_AXIS_L_X;
9389
axis_map[SDL_CONTROLLER_AXIS_LEFTY] = VANILLA_AXIS_L_Y;
9490
axis_map[SDL_CONTROLLER_AXIS_RIGHTX] = VANILLA_AXIS_R_X;

0 commit comments

Comments
 (0)