diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/plugins/chip8.c | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 50e32ed90b..66a2bfd70e 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -984,6 +984,14 @@ STATIC void chip8 (void) | |||
984 | #define CHIP8_KEY6 BUTTON_RIGHT | 984 | #define CHIP8_KEY6 BUTTON_RIGHT |
985 | #define CHIP8_KEY8 BUTTON_SCROLL_FWD | 985 | #define CHIP8_KEY8 BUTTON_SCROLL_FWD |
986 | 986 | ||
987 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
988 | #define CHIP8_OFF BUTTON_POWER | ||
989 | #define CHIP8_KEY2 BUTTON_UP | ||
990 | #define CHIP8_KEY4 BUTTON_LEFT | ||
991 | #define CHIP8_KEY5 BUTTON_MENU | ||
992 | #define CHIP8_KEY6 BUTTON_RIGHT | ||
993 | #define CHIP8_KEY8 BUTTON_DOWN | ||
994 | |||
987 | #endif | 995 | #endif |
988 | 996 | ||
989 | static byte chip8_virtual_keys[16]; | 997 | static byte chip8_virtual_keys[16]; |