diff options
Diffstat (limited to 'apps/plugins')
-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 1ffbbfbac5..71024b27a2 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -1167,6 +1167,19 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
1167 | #define CHIP8_KEY6 BUTTON_DOWN | 1167 | #define CHIP8_KEY6 BUTTON_DOWN |
1168 | #define CHIP8_KEY8 BUTTON_UP | 1168 | #define CHIP8_KEY8 BUTTON_UP |
1169 | 1169 | ||
1170 | #elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD | ||
1171 | |||
1172 | #define CHIP8_OFF BUTTON_POWER | ||
1173 | #define CHIP8_KEY1 BUTTON_LEFT | ||
1174 | #define CHIP8_KEY2 BUTTON_UP | ||
1175 | #define CHIP8_KEY3 BUTTON_RIGHT | ||
1176 | #define CHIP8_KEY4 BUTTON_DOWN | ||
1177 | #define CHIP8_KEY5 BUTTON_PLAYPAUSE | ||
1178 | #define CHIP8_KEY6 BUTTON_BACK | ||
1179 | #define CHIP8_KEY7 BUTTON_SELECT | ||
1180 | #define CHIP8_KEY8 BUTTON_VOL_DOWN | ||
1181 | #define CHIP8_KEY9 BUTTON_VOL_UP | ||
1182 | |||
1170 | #else | 1183 | #else |
1171 | #error No keymap defined! | 1184 | #error No keymap defined! |
1172 | #endif | 1185 | #endif |