diff options
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 1be48823ed..29816bfa13 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -992,6 +992,14 @@ STATIC void chip8 (void) | |||
992 | #define CHIP8_KEY6 BUTTON_RIGHT | 992 | #define CHIP8_KEY6 BUTTON_RIGHT |
993 | #define CHIP8_KEY8 BUTTON_DOWN | 993 | #define CHIP8_KEY8 BUTTON_DOWN |
994 | 994 | ||
995 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) | ||
996 | #define CHIP8_OFF BUTTON_A | ||
997 | #define CHIP8_KEY2 BUTTON_UP | ||
998 | #define CHIP8_KEY4 BUTTON_LEFT | ||
999 | #define CHIP8_KEY5 BUTTON_MENU | ||
1000 | #define CHIP8_KEY6 BUTTON_RIGHT | ||
1001 | #define CHIP8_KEY8 BUTTON_DOWN | ||
1002 | |||
995 | #endif | 1003 | #endif |
996 | 1004 | ||
997 | static byte chip8_virtual_keys[16]; | 1005 | static byte chip8_virtual_keys[16]; |