summaryrefslogtreecommitdiff
path: root/apps/plugins/mazezam.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-22 10:24:28 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-22 10:24:28 +0000
commit29361abf744ed116cec04ca03e754ddd2794b76c (patch)
treed336dd19570faed037aef9064ce3c490c50ed6df /apps/plugins/mazezam.c
parentbca8edd856cee3a3b469ef9fe2770a191b590fde (diff)
downloadrockbox-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/mazezam.c')
-rw-r--r--apps/plugins/mazezam.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/mazezam.c b/apps/plugins/mazezam.c
index 858d554a6d..69997af9c3 100644
--- a/apps/plugins/mazezam.c
+++ b/apps/plugins/mazezam.c
@@ -165,6 +165,18 @@ MEM_FUNCTION_WRAPPERS(rb);
165#define MAZEZAM_QUIT BUTTON_POWER 165#define MAZEZAM_QUIT BUTTON_POWER
166#define MAZEZAM_QUIT_KEYNAME "[POWER]" 166#define MAZEZAM_QUIT_KEYNAME "[POWER]"
167 167
168#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
169#define MAZEZAM_UP BUTTON_RC_VOL_UP
170#define MAZEZAM_DOWN BUTTON_RC_VOL_DOWN
171#define MAZEZAM_LEFT BUTTON_RC_REW
172#define MAZEZAM_RIGHT BUTTON_RC_FF
173#define MAZEZAM_SELECT BUTTON_RC_PLAY
174
175#define MAZEZAM_RETRY BUTTON_RC_MODE
176#define MAZEZAM_RETRY_KEYNAME "[MODE]"
177#define MAZEZAM_QUIT BUTTON_RC_REC
178#define MAZEZAM_QUIT_KEYNAME "[REC]"
179
168#else 180#else
169#error No keymap defined! 181#error No keymap defined!
170#endif 182#endif