summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-05-17 13:25:23 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-05-17 13:25:23 +0000
commit3637ccbffcfdd3ca63a82358988867228c72d847 (patch)
tree18c08739ab4ab6b5d89e54718c9d446372d99395 /apps/plugins/chip8.c
parentdb59e671ccadc2a9f0cc7ee24d4247411243bf26 (diff)
downloadrockbox-3637ccbffcfdd3ca63a82358988867228c72d847.tar.gz
rockbox-3637ccbffcfdd3ca63a82358988867228c72d847.tar.bz2
rockbox-3637ccbffcfdd3ca63a82358988867228c72d847.zip
Change default chip8 keymap on c200/m200/clip families to use up/down on the 4-way pad instead of volume up and volume down, since most chip8 games use those buttons as directions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index edc3bf0bc1..be66d6351f 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1030,11 +1030,11 @@ STATIC void chip8 (void)
CONFIG_KEYPAD == SANSA_CLIP_PAD || \
CONFIG_KEYPAD == SANSA_M200_PAD
#define CHIP8_OFF BUTTON_POWER
-#define CHIP8_KEY2 BUTTON_VOL_UP
+#define CHIP8_KEY2 BUTTON_UP
#define CHIP8_KEY4 BUTTON_LEFT
#define CHIP8_KEY5 BUTTON_SELECT
#define CHIP8_KEY6 BUTTON_RIGHT
-#define CHIP8_KEY8 BUTTON_VOL_DOWN
+#define CHIP8_KEY8 BUTTON_DOWN
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
#define CHIP8_OFF BUTTON_POWER