diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-22 10:24:28 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-22 10:24:28 +0000 |
commit | 29361abf744ed116cec04ca03e754ddd2794b76c (patch) | |
tree | d336dd19570faed037aef9064ce3c490c50ed6df /apps/plugins/chip8.c | |
parent | bca8edd856cee3a3b469ef9fe2770a191b590fde (diff) | |
download | rockbox-29361abf744ed116cec04ca03e754ddd2794b76c.tar.gz rockbox-29361abf744ed116cec04ca03e754ddd2794b76c.zip |
Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index ab685e5288..5fbf1be7fb 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -1067,6 +1067,16 @@ STATIC void chip8 (void) | |||
1067 | #define CHIP8_KEY7 BUTTON_DISPLAY | 1067 | #define CHIP8_KEY7 BUTTON_DISPLAY |
1068 | #define CHIP8_KEY8 BUTTON_DOWN | 1068 | #define CHIP8_KEY8 BUTTON_DOWN |
1069 | 1069 | ||
1070 | #elif CONFIG_KEYPAD == IAUDIO_M3_PAD | ||
1071 | #define CHIP8_OFF BUTTON_RC_REC | ||
1072 | #define CHIP8_KEY1 BUTTON_RC_MENU | ||
1073 | #define CHIP8_KEY2 BUTTON_RC_VOL_UP | ||
1074 | #define CHIP8_KEY3 BUTTON_RC_MODE | ||
1075 | #define CHIP8_KEY4 BUTTON_RC_REW | ||
1076 | #define CHIP8_KEY5 BUTTON_RC_PLAY | ||
1077 | #define CHIP8_KEY6 BUTTON_RC_FF | ||
1078 | #define CHIP8_KEY8 BUTTON_RC_VOL_DOWN | ||
1079 | |||
1070 | #else | 1080 | #else |
1071 | #error No keymap defined! | 1081 | #error No keymap defined! |
1072 | #endif | 1082 | #endif |