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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index aa81b263dc..0830279671 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -42,6 +42,13 @@
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
46#define CHIP8_KEY2 BUTTON_UP
47#define CHIP8_KEY4 BUTTON_LEFT
48#define CHIP8_KEY5 BUTTON_SELECT
49#define CHIP8_KEY6 BUTTON_RIGHT
50#define CHIP8_KEY8 BUTTON_DOWN
51
45#endif 52#endif
46 53
47static struct plugin_api* rb; /* here is a global api struct pointer */ 54static struct plugin_api* rb; /* here is a global api struct pointer */