summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index e7f874db3b..6b42078817 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1090,6 +1090,16 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define CHIP8_KEY6 BUTTON_RIGHT
#define CHIP8_KEY8 BUTTON_DOWN
+#elif CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD
+#define CHIP8_OFF BUTTON_POWER
+#define CHIP8_KEY1 BUTTON_VOL_UP
+#define CHIP8_KEY2 BUTTON_UP
+#define CHIP8_KEY3 BUTTON_VOL_DOWN
+#define CHIP8_KEY4 BUTTON_BACK
+#define CHIP8_KEY5 BUTTON_PLAY
+#define CHIP8_KEY6 BUTTON_MENU
+#define CHIP8_KEY8 BUTTON_DOWN
+
#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
#define CHIP8_OFF BUTTON_POWER
#define CHIP8_KEY1 BUTTON_MENU