diff options
author | Robert Kukla <roolku@rockbox.org> | 2008-03-01 22:55:09 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2008-03-01 22:55:09 +0000 |
commit | d6c8b57b507658ef2e45f73d1f00e9ea88ac8d34 (patch) | |
tree | 2c3e35f7d1f705c08d963a21ede3b42f1bee5019 /apps/plugins/chip8.c | |
parent | 9876d91e351f457bac7f5ea3459dc12ef021078a (diff) |
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 752aa7b4c8..ab685e5288 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c @@ -1056,6 +1056,19 @@ STATIC void chip8 (void) #define CHIP8_KEY8 BUTTON_DOWN #define CHIP8_KEY9 BUTTON_PLAY +#elif (CONFIG_KEYPAD == MROBE100_PAD) +#define CHIP8_OFF BUTTON_POWER +#define CHIP8_KEY1 BUTTON_MENU +#define CHIP8_KEY2 BUTTON_UP +#define CHIP8_KEY3 BUTTON_PLAY +#define CHIP8_KEY4 BUTTON_LEFT +#define CHIP8_KEY5 BUTTON_SELECT +#define CHIP8_KEY6 BUTTON_RIGHT +#define CHIP8_KEY7 BUTTON_DISPLAY +#define CHIP8_KEY8 BUTTON_DOWN + +#else +#error No keymap defined! #endif static byte chip8_virtual_keys[16]; |