shithub: wipeout

Download patch

ref: 4c1e50939e75a2192e5b08f9e4882b3a61ff1a26
parent: a721eec118cbe645ef5a3a0ad7bc7e56ebd490fe
author: Dominic Szablewski <[email protected]>
date: Sat Aug 19 19:40:02 EDT 2023

Add mapping game controller guide button; see #26

--- a/src/platform_sdl.c
+++ b/src/platform_sdl.c
@@ -18,7 +18,7 @@
 	[SDL_CONTROLLER_BUTTON_X] = INPUT_GAMEPAD_X,
 	[SDL_CONTROLLER_BUTTON_Y] = INPUT_GAMEPAD_Y,
 	[SDL_CONTROLLER_BUTTON_BACK] = INPUT_GAMEPAD_SELECT,
-	[SDL_CONTROLLER_BUTTON_GUIDE] = INPUT_INVALID,
+	[SDL_CONTROLLER_BUTTON_GUIDE] = INPUT_GAMEPAD_HOME,
 	[SDL_CONTROLLER_BUTTON_START] = INPUT_GAMEPAD_START,
 	[SDL_CONTROLLER_BUTTON_LEFTSTICK] = INPUT_GAMEPAD_L_STICK_PRESS,
 	[SDL_CONTROLLER_BUTTON_RIGHTSTICK] = INPUT_GAMEPAD_R_STICK_PRESS,