summaryrefslogtreecommitdiffstats
path: root/apps/plugins/flipit.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/flipit.c')
-rw-r--r--apps/plugins/flipit.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c
index 056878e7e4..dd5f809027 100644
--- a/apps/plugins/flipit.c
+++ b/apps/plugins/flipit.c
@@ -195,6 +195,17 @@
#define FLIPIT_STEP_BY_STEP (BUTTON_SELECT | BUTTON_UP)
#define FLIPIT_TOGGLE (BUTTON_SELECT | BUTTON_REL)
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define FLIPIT_LEFT BUTTON_LEFT
+#define FLIPIT_RIGHT BUTTON_RIGHT
+#define FLIPIT_UP BUTTON_UP
+#define FLIPIT_DOWN BUTTON_DOWN
+#define FLIPIT_QUIT (BUTTON_BACK|BUTTON_REPEAT)
+#define FLIPIT_SHUFFLE BUTTON_BACK
+#define FLIPIT_SOLVE (BUTTON_PLAY|BUTTON_REPEAT)
+#define FLIPIT_STEP_BY_STEP BUTTON_POWER
+#define FLIPIT_TOGGLE BUTTON_PLAY
+
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
#define FLIPIT_LEFT BUTTON_LEFT