summaryrefslogtreecommitdiff
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-04 21:28:56 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-04 21:28:56 +0000
commitcea285d64e34f8c2ecce676f6239b59608597019 (patch)
treeaba19ec8c3b1d53ef2a8915ee5f5ed5500fd653f /apps/plugins/calculator.c
parent203722136c5f50d7deab432739e991faa48e470f (diff)
downloadrockbox-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/calculator.c')
-rw-r--r--apps/plugins/calculator.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 0207688c6d..c7722e3777 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -285,6 +285,17 @@ PLUGIN_HEADER
285 285
286#define CALCULATOR_RC_QUIT (BUTTON_MENU|BUTTON_PLAY) 286#define CALCULATOR_RC_QUIT (BUTTON_MENU|BUTTON_PLAY)
287 287
288#elif (CONFIG_KEYPAD == CREATIVEZVM_PAD)
289
290#define CALCULATOR_LEFT BUTTON_LEFT
291#define CALCULATOR_RIGHT BUTTON_RIGHT
292#define CALCULATOR_UP BUTTON_UP
293#define CALCULATOR_DOWN BUTTON_DOWN
294#define CALCULATOR_QUIT BUTTON_BACK
295#define CALCULATOR_INPUT BUTTON_SELECT
296#define CALCULATOR_CALC BUTTON_MENU
297#define CALCULATOR_CLEAR BUTTON_PLAY
298
288#else 299#else
289#error No keymap defined! 300#error No keymap defined!
290#endif 301#endif