diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-12-04 21:28:56 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-12-04 21:28:56 +0000 |
commit | cea285d64e34f8c2ecce676f6239b59608597019 (patch) | |
tree | aba19ec8c3b1d53ef2a8915ee5f5ed5500fd653f /apps/plugins/chip8.c | |
parent | 203722136c5f50d7deab432739e991faa48e470f (diff) | |
download | rockbox-cea285d64e34f8c2ecce676f6239b59608597019.tar.gz rockbox-cea285d64e34f8c2ecce676f6239b59608597019.zip |
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 9ce18b582b..c5c46d54b2 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -1082,6 +1082,18 @@ STATIC void chip8 (void) | |||
1082 | #elif (CONFIG_KEYPAD == COWOND2_PAD) | 1082 | #elif (CONFIG_KEYPAD == COWOND2_PAD) |
1083 | #define CHIP8_OFF BUTTON_POWER | 1083 | #define CHIP8_OFF BUTTON_POWER |
1084 | 1084 | ||
1085 | #elif CONFIG_KEYPAD == CREATIVEZVM_PAD | ||
1086 | #define CHIP8_OFF BUTTON_POWER | ||
1087 | #define CHIP8_KEY1 BUTTON_MENU | ||
1088 | #define CHIP8_KEY2 BUTTON_UP | ||
1089 | #define CHIP8_KEY3 BUTTON_BACK | ||
1090 | #define CHIP8_KEY4 BUTTON_LEFT | ||
1091 | #define CHIP8_KEY5 BUTTON_SELECT | ||
1092 | #define CHIP8_KEY6 BUTTON_RIGHT | ||
1093 | #define CHIP8_KEY7 BUTTON_CUSTOM | ||
1094 | #define CHIP8_KEY8 BUTTON_DOWN | ||
1095 | #define CHIP8_KEY9 BUTTON_PLAY | ||
1096 | |||
1085 | #else | 1097 | #else |
1086 | #error No keymap defined! | 1098 | #error No keymap defined! |
1087 | #endif | 1099 | #endif |