summaryrefslogtreecommitdiff
path: root/apps/plugins/flipit.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-01-04 23:33:15 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-01-04 23:33:15 +0000
commit6d5823f964d8cc2b030d7a713d355f3132e41c45 (patch)
tree4ca09cc6020717948fd21bccdd29265ed2c454fc /apps/plugins/flipit.c
parentd32ebec9dadb053ab6d63aaa581465ad18ec572e (diff)
Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/flipit.c')
-rw-r--r--apps/plugins/flipit.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c
index e5863bd4b1..f4725e4fa0 100644
--- a/apps/plugins/flipit.c
+++ b/apps/plugins/flipit.c
@@ -143,6 +143,22 @@ PLUGIN_HEADER
#define FLIPIT_STEP_BY_STEP (BUTTON_REC | BUTTON_SELECT)
#define FLIPIT_TOGGLE BUTTON_SELECT
+#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
+
+#define FLIPIT_SCROLLWHEEL
+#define FLIPIT_LEFT BUTTON_LEFT
+#define FLIPIT_RIGHT BUTTON_RIGHT
+#define FLIPIT_UP BUTTON_UP
+#define FLIPIT_DOWN BUTTON_DOWN
+#define FLIPIT_NEXT BUTTON_SCROLL_FWD
+#define FLIPIT_PREV BUTTON_SCROLL_BACK
+#define FLIPIT_QUIT (BUTTON_SELECT | BUTTON_UP)
+#define FLIPIT_SHUFFLE (BUTTON_SELECT | BUTTON_LEFT)
+#define FLIPIT_SOLVE (BUTTON_SELECT | BUTTON_DOWN)
+#define FLIPIT_STEP_BY_STEP (BUTTON_SELECT | BUTTON_RIGHT)
+#define FLIPIT_TOGGLE_PRE BUTTON_SELECT
+#define FLIPIT_TOGGLE (BUTTON_SELECT | BUTTON_REL)
+
#elif CONFIG_KEYPAD == SANSA_C200_PAD
#define FLIPIT_LEFT BUTTON_LEFT