diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
| commit | 6700ad8f206d0beba92e22680504ae6ba2b7d74c (patch) | |
| tree | 1eba76a3a966d2a38e1819157917918b7721ff0b /apps/plugins/chip8.c | |
| parent | 3fcfdffe88025a943f9c72f7b86363dc08edaecd (diff) | |
| download | rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.zip rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.gz rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.bz2 rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.xz | |
adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
| -rw-r--r-- | apps/plugins/chip8.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index aa81b26..0830279 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c @@ -42,6 +42,13 @@ #define CHIP8_KEY6 BUTTON_RIGHT #define CHIP8_KEY8 BUTTON_DOWN +#elif CONFIG_KEYPAD == IRIVER_H100_PAD +#define CHIP8_KEY2 BUTTON_UP +#define CHIP8_KEY4 BUTTON_LEFT +#define CHIP8_KEY5 BUTTON_SELECT +#define CHIP8_KEY6 BUTTON_RIGHT +#define CHIP8_KEY8 BUTTON_DOWN + #endif static struct plugin_api* rb; /* here is a global api struct pointer */ |