diff options
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 71024b27a2..97d8351fe9 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -1180,6 +1180,19 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
1180 | #define CHIP8_KEY8 BUTTON_VOL_DOWN | 1180 | #define CHIP8_KEY8 BUTTON_VOL_DOWN |
1181 | #define CHIP8_KEY9 BUTTON_VOL_UP | 1181 | #define CHIP8_KEY9 BUTTON_VOL_UP |
1182 | 1182 | ||
1183 | #elif CONFIG_KEYPAD == SANSA_CONNECT_PAD | ||
1184 | |||
1185 | #define CHIP8_OFF BUTTON_POWER | ||
1186 | #define CHIP8_KEY1 BUTTON_LEFT | ||
1187 | #define CHIP8_KEY2 BUTTON_UP | ||
1188 | #define CHIP8_KEY3 BUTTON_RIGHT | ||
1189 | #define CHIP8_KEY4 BUTTON_DOWN | ||
1190 | #define CHIP8_KEY5 BUTTON_NEXT | ||
1191 | #define CHIP8_KEY6 BUTTON_PREV | ||
1192 | #define CHIP8_KEY7 BUTTON_SELECT | ||
1193 | #define CHIP8_KEY8 BUTTON_VOL_DOWN | ||
1194 | #define CHIP8_KEY9 BUTTON_VOL_UP | ||
1195 | |||
1183 | #else | 1196 | #else |
1184 | #error No keymap defined! | 1197 | #error No keymap defined! |
1185 | #endif | 1198 | #endif |