summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2009-12-07 18:23:25 +0000
committerRobert Menes <rmenes@rockbox.org>2009-12-07 18:23:25 +0000
commited64d91bc226f0cf4c9b7da1759d1fc8d5af5c3d (patch)
tree452b580d0ab269bb7728f72984ec7c0ab6aa0df3 /apps/plugins/chip8.c
parent2d722a17ec1d7b99c4e23d97784f77abbfb128e3 (diff)
downloadrockbox-ed64d91bc226f0cf4c9b7da1759d1fc8d5af5c3d.tar.gz
rockbox-ed64d91bc226f0cf4c9b7da1759d1fc8d5af5c3d.tar.bz2
rockbox-ed64d91bc226f0cf4c9b7da1759d1fc8d5af5c3d.zip
Yet more GoGear SA9200 plugin keymaps. Almost done!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23893 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 7435518855..80611ab085 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_SA9200_PAD
+#define CHIP8_OFF BUTTON_POWER
+#define CHIP8_KEY1 BUTTON_LEFT
+#define CHIP8_KEY2 BUTTON_UP
+#define CHIP8_KEY3 BUTTON_RIGHT
+#define CHIP8_KEY4 BUTTON_PREV
+#define CHIP8_KEY5 BUTTON_PLAY
+#define CHIP8_KEY6 BUTTON_NEXT
+#define CHIP8_KEY7 BUTTON_MENU
+#define CHIP8_KEY8 BUTTON_DOWN
+#define CHIP8_KEY9 BUTTON_VOL_UP
+#define CHIP8_KEY0 BUTTON_VOL_DOWN
+
#elif (CONFIG_KEYPAD == ONDAVX747_PAD) || \
CONFIG_KEYPAD == ONDAVX777_PAD || \
CONFIG_KEYPAD == MROBE500_PAD