summaryrefslogtreecommitdiff
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 752aa7b4c8..ab685e5288 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1056,6 +1056,19 @@ STATIC void chip8 (void)
1056#define CHIP8_KEY8 BUTTON_DOWN 1056#define CHIP8_KEY8 BUTTON_DOWN
1057#define CHIP8_KEY9 BUTTON_PLAY 1057#define CHIP8_KEY9 BUTTON_PLAY
1058 1058
1059#elif (CONFIG_KEYPAD == MROBE100_PAD)
1060#define CHIP8_OFF BUTTON_POWER
1061#define CHIP8_KEY1 BUTTON_MENU
1062#define CHIP8_KEY2 BUTTON_UP
1063#define CHIP8_KEY3 BUTTON_PLAY
1064#define CHIP8_KEY4 BUTTON_LEFT
1065#define CHIP8_KEY5 BUTTON_SELECT
1066#define CHIP8_KEY6 BUTTON_RIGHT
1067#define CHIP8_KEY7 BUTTON_DISPLAY
1068#define CHIP8_KEY8 BUTTON_DOWN
1069
1070#else
1071#error No keymap defined!
1059#endif 1072#endif
1060 1073
1061static byte chip8_virtual_keys[16]; 1074static byte chip8_virtual_keys[16];