summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-02-02 14:42:42 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2012-02-02 14:55:51 +0100
commit5863361fbfcef39c2b3d9a3b5520e7a770fa04cb (patch)
tree1ebff817c2bcb8558ae5253454b3043eda57997e /apps/plugins/chip8.c
parent3511435ee321b38c0d9d86d88d0c6e6a25a1c427 (diff)
downloadrockbox-5863361fbfcef39c2b3d9a3b5520e7a770fa04cb.tar.gz
rockbox-5863361fbfcef39c2b3d9a3b5520e7a770fa04cb.tar.bz2
rockbox-5863361fbfcef39c2b3d9a3b5520e7a770fa04cb.zip
MPIOs: keymap tweaks
Change-Id: Ic96900c83ffb90df4f6c68a26238f0543cba61cd
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 470a8e4c89..0e1b9c5213 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1152,20 +1152,25 @@ CONFIG_KEYPAD == MROBE500_PAD
#elif CONFIG_KEYPAD == MPIO_HD200_PAD
#define CHIP8_OFF (BUTTON_REC|BUTTON_PLAY)
-#define CHIP8_KEY2 BUTTON_REW
-#define CHIP8_KEY4 BUTTON_FF
+#define CHIP8_KEY1 BUTTON_REW
+#define CHIP8_KEY2 BUTTON_FF
+#define CHIP8_KEY3 BUTTON_FUNC
+#define CHIP8_KEY4 BUTTON_REC
#define CHIP8_KEY5 BUTTON_PLAY
#define CHIP8_KEY6 BUTTON_VOL_DOWN
#define CHIP8_KEY8 BUTTON_VOL_UP
#elif CONFIG_KEYPAD == MPIO_HD300_PAD
-#define CHIP8_OFF (BUTTON_REC|BUTTON_REPEAT)
-#define CHIP8_KEY2 BUTTON_REW
-#define CHIP8_KEY4 BUTTON_FF
-#define CHIP8_KEY5 BUTTON_PLAY
-#define CHIP8_KEY6 BUTTON_DOWN
-#define CHIP8_KEY8 BUTTON_UP
+#define CHIP8_OFF (BUTTON_MENU|BUTTON_REPEAT)
+#define CHIP8_KEY1 BUTTON_REW
+#define CHIP8_KEY2 BUTTON_FF
+#define CHIP8_KEY3 BUTTON_MENU
+#define CHIP8_KEY4 BUTTON_ENTER
+#define CHIP8_KEY5 BUTTON_REC
+#define CHIP8_KEY6 BUTTON_PLAY
+#define CHIP8_KEY7 BUTTON_UP
+#define CHIP8_KEY8 BUTTON_DOWN
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD