From a6e9ecb0862b691ecadfa21381666158f76bddba Mon Sep 17 00:00:00 2001 From: Benjamin Brown Date: Mon, 15 Aug 2022 18:22:40 -0400 Subject: Updated keymaps for Sansa Connect * added scroll wheel to doom * added scroll wheel to brickmania * changed spacerocks to use scroll wheel instead of buttons Change-Id: I9d6ff0b4c5deea147178f5cd9f96ae435e7b5cd8 --- apps/plugins/doom/i_video.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins/doom/i_video.c') diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index f5d07a8354..79f3212467 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -453,6 +453,9 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_MAP BUTTON_BOTTOMRIGHT #elif CONFIG_KEYPAD == SANSA_CONNECT_PAD +#define DOOMBUTTON_SCROLLWHEEL +#define DOOMBUTTON_SCROLLWHEEL_CC BUTTON_SCROLL_BACK +#define DOOMBUTTON_SCROLLWHEEL_CW BUTTON_SCROLL_FWD #define DOOMBUTTON_UP BUTTON_UP #define DOOMBUTTON_DOWN BUTTON_DOWN #define DOOMBUTTON_LEFT BUTTON_LEFT -- cgit v1.2.3