summaryrefslogtreecommitdiff
path: root/apps/plugins/chessclock.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/chessclock.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/chessclock.c')
-rw-r--r--apps/plugins/chessclock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c
index 6523021b6d..7d16c7c629 100644
--- a/apps/plugins/chessclock.c
+++ b/apps/plugins/chessclock.c
@@ -170,6 +170,16 @@ PLUGIN_HEADER
170#define CHC_SETTINGS_OK BUTTON_SELECT 170#define CHC_SETTINGS_OK BUTTON_SELECT
171#define CHC_SETTINGS_CANCEL BUTTON_POWER 171#define CHC_SETTINGS_CANCEL BUTTON_POWER
172 172
173#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
174#define CHC_QUIT BUTTON_RC_REC
175#define CHC_STARTSTOP BUTTON_RC_PLAY
176#define CHC_RESET BUTTON_RC_REW
177#define CHC_MENU BUTTON_RC_MENU
178#define CHC_SETTINGS_INC BUTTON_RC_VOL_UP
179#define CHC_SETTINGS_DEC BUTTON_RC_VOL_DOWN
180#define CHC_SETTINGS_OK BUTTON_RC_PLAY
181#define CHC_SETTINGS_CANCEL BUTTON_RC_REC
182
173#else 183#else
174#error No keymap defined! 184#error No keymap defined!
175#endif 185#endif