summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 2585c49ff2..e7f874db3b 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1175,15 +1175,17 @@ CONFIG_KEYPAD == MROBE500_PAD
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
#define CHIP8_OFF BUTTON_POWER
-#define CHIP8_KEY1 BUTTON_LEFT
+#define CHIP8_KEY0 BUTTON_VOL_DOWN
+#define CHIP8_KEY1 BUTTON_BACK
#define CHIP8_KEY2 BUTTON_UP
-#define CHIP8_KEY3 BUTTON_RIGHT
-#define CHIP8_KEY4 BUTTON_DOWN
-#define CHIP8_KEY5 BUTTON_PLAYPAUSE
-#define CHIP8_KEY6 BUTTON_BACK
-#define CHIP8_KEY7 BUTTON_SELECT
-#define CHIP8_KEY8 BUTTON_VOL_DOWN
-#define CHIP8_KEY9 BUTTON_VOL_UP
+#define CHIP8_KEY3 BUTTON_PLAYPAUSE
+#define CHIP8_KEY4 BUTTON_LEFT
+#define CHIP8_KEY5 BUTTON_SELECT
+#define CHIP8_KEY6 BUTTON_RIGHT
+#define CHIP8_KEY7 BUTTON_BOTTOMLEFT
+#define CHIP8_KEY8 BUTTON_DOWN
+#define CHIP8_KEY9 BUTTON_BOTTOMRIGHT
+#define CHIP8_KEYA BUTTON_VOL_UP
#elif CONFIG_KEYPAD == SANSA_CONNECT_PAD