diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-12-04 21:28:56 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-12-04 21:28:56 +0000 |
commit | cea285d64e34f8c2ecce676f6239b59608597019 (patch) | |
tree | aba19ec8c3b1d53ef2a8915ee5f5ed5500fd653f /apps/plugins/oscilloscope.c | |
parent | 203722136c5f50d7deab432739e991faa48e470f (diff) | |
download | rockbox-cea285d64e34f8c2ecce676f6239b59608597019.tar.gz rockbox-cea285d64e34f8c2ecce676f6239b59608597019.zip |
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/oscilloscope.c')
-rw-r--r-- | apps/plugins/oscilloscope.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c index 9c25dc3a64..b3a48bb67e 100644 --- a/apps/plugins/oscilloscope.c +++ b/apps/plugins/oscilloscope.c | |||
@@ -199,6 +199,17 @@ PLUGIN_HEADER | |||
199 | #define OSCILLOSCOPE_VOL_UP BUTTON_PLUS | 199 | #define OSCILLOSCOPE_VOL_UP BUTTON_PLUS |
200 | #define OSCILLOSCOPE_VOL_DOWN BUTTON_MINUS | 200 | #define OSCILLOSCOPE_VOL_DOWN BUTTON_MINUS |
201 | 201 | ||
202 | #elif CONFIG_KEYPAD == CREATIVEZVM_PAD | ||
203 | #define OSCILLOSCOPE_QUIT BUTTON_BACK | ||
204 | #define OSCILLOSCOPE_DRAWMODE BUTTON_PLAY | ||
205 | #define OSCILLOSCOPE_ADVMODE BUTTON_CUSTOM | ||
206 | #define OSCILLOSCOPE_ORIENTATION BUTTON_MENU | ||
207 | #define OSCILLOSCOPE_PAUSE BUTTON_SELECT | ||
208 | #define OSCILLOSCOPE_SPEED_UP BUTTON_RIGHT | ||
209 | #define OSCILLOSCOPE_SPEED_DOWN BUTTON_LEFT | ||
210 | #define OSCILLOSCOPE_VOL_UP BUTTON_UP | ||
211 | #define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN | ||
212 | |||
202 | #else | 213 | #else |
203 | #error No keymap defined! | 214 | #error No keymap defined! |
204 | #endif | 215 | #endif |