summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2010-11-02 23:18:41 +0000
committerRobert Menes <rmenes@rockbox.org>2010-11-02 23:18:41 +0000
commit63f68b482ac794e4ee177e30ec83eb7038e5fba5 (patch)
tree3b34b54f75378ebdf45a6993234498460afe478a /apps/plugins/chip8.c
parente2e93649b679ece40974361851befc18c5623157 (diff)
downloadrockbox-63f68b482ac794e4ee177e30ec83eb7038e5fba5.tar.gz
rockbox-63f68b482ac794e4ee177e30ec83eb7038e5fba5.tar.bz2
rockbox-63f68b482ac794e4ee177e30ec83eb7038e5fba5.zip
Still coming along with HDD6330 plugin keymaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28466 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index b8f2ed469f..c68c987d48 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1102,6 +1102,19 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define CHIP8_KEY8 BUTTON_DOWN
#define CHIP8_KEY9 BUTTON_VIEW
+#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
+#define CHIP8_OFF BUTTON_POWER
+#define CHIP8_KEY1 BUTTON_PREV
+#define CHIP8_KEY2 BUTTON_PLAY
+#define CHIP8_KEY3 BUTTON_NEXT
+#define CHIP8_KEY4 BUTTON_LEFT
+#define CHIP8_KEY5 BUTTON_UP
+#define CHIP8_KEY6 BUTTON_RIGHT
+#define CHIP8_KEY7 BUTTON_MENU
+#define CHIP8_KEY8 BUTTON_DOWN
+#define CHIP8_KEY9 BUTTON_VIEW
+#define CHIP8_KEY0 BUTTON_VOL_DOWN
+
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
#define CHIP8_OFF BUTTON_POWER
#define CHIP8_KEY1 BUTTON_LEFT