summaryrefslogtreecommitdiff
path: root/apps/plugins/stopwatch.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/stopwatch.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/stopwatch.c')
-rw-r--r--apps/plugins/stopwatch.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c
index 53f79ee6f7..ac3c7b70fb 100644
--- a/apps/plugins/stopwatch.c
+++ b/apps/plugins/stopwatch.c
@@ -136,6 +136,14 @@ PLUGIN_HEADER
136#define STOPWATCH_LAP_TIMER BUTTON_MENU 136#define STOPWATCH_LAP_TIMER BUTTON_MENU
137#define STOPWATCH_SCROLL_UP BUTTON_UP 137#define STOPWATCH_SCROLL_UP BUTTON_UP
138#define STOPWATCH_SCROLL_DOWN BUTTON_DOWN 138#define STOPWATCH_SCROLL_DOWN BUTTON_DOWN
139#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
140#define STOPWATCH_QUIT BUTTON_RC_REC
141#define STOPWATCH_START_STOP BUTTON_RC_PLAY
142#define STOPWATCH_RESET_TIMER BUTTON_RC_REW
143#define STOPWATCH_LAP_TIMER BUTTON_RC_FF
144#define STOPWATCH_SCROLL_UP BUTTON_RC_VOL_UP
145#define STOPWATCH_SCROLL_DOWN BUTTON_RC_VOL_DOWN
146#define STOPWATCH_RC_QUIT BUTTON_REC
139#else 147#else
140#error No keymap defined! 148#error No keymap defined!
141#endif 149#endif