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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 0830279671..544ee9f959 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -42,7 +42,8 @@
42#define CHIP8_KEY6 BUTTON_RIGHT 42#define CHIP8_KEY6 BUTTON_RIGHT
43#define CHIP8_KEY8 BUTTON_DOWN 43#define CHIP8_KEY8 BUTTON_DOWN
44 44
45#elif CONFIG_KEYPAD == IRIVER_H100_PAD 45#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
46 (CONFIG_KEYPAD == IRIVER_H300_PAD)
46#define CHIP8_KEY2 BUTTON_UP 47#define CHIP8_KEY2 BUTTON_UP
47#define CHIP8_KEY4 BUTTON_LEFT 48#define CHIP8_KEY4 BUTTON_LEFT
48#define CHIP8_KEY5 BUTTON_SELECT 49#define CHIP8_KEY5 BUTTON_SELECT