summaryrefslogtreecommitdiffstats
path: root/apps/plugins/solitaire.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r--apps/plugins/solitaire.c28
1 files changed, 23 insertions, 5 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index dc2bd79420..9c80cff272 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -385,11 +385,29 @@
# define SOL_REM2CUR (BUTTON_LEFT | BUTTON_VIEW)
# define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_REPEAT)
# define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_VIEW)
-# define HK_MOVE "SELECT"
-# define HK_DRAW "MENU"
-# define HK_REM2CUR "VIEW+LEFT"
-# define HK_CUR2STACK "SELECT.."
-# define HK_REM2STACK "VIEW+RIGHT"
+# define HK_MOVE "SELECT"
+# define HK_DRAW "MENU"
+# define HK_REM2CUR "VIEW+LEFT"
+# define HK_CUR2STACK "SELECT.."
+# define HK_REM2STACK "VIEW+RIGHT"
+
+#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
+# define SOL_QUIT BUTTON_POWER
+# define SOL_UP BUTTON_UP
+# define SOL_DOWN BUTTON_DOWN
+# define SOL_LEFT BUTTON_PREV
+# define SOL_RIGHT BUTTON_NEXT
+# define SOL_MOVE_PRE BUTTON_PLAY
+# define SOL_MOVE (BUTTON_PLAY | BUTTON_REL)
+# define SOL_DRAW BUTTON_MENU
+# define SOL_REM2CUR BUTTON_LEFT
+# define SOL_CUR2STACK (BUTTON_PLAY | BUTTON_REPEAT)
+# define SOL_REM2STACK BUTTON_RIGHT
+# define HK_MOVE "PLAY"
+# define HK_DRAW "MENU"
+# define HK_REM2CUR "LEFT"
+# define HK_CUR2STACK "PLAY.."
+# define HK_REM2STACK "RIGHT"
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
# define SOL_QUIT BUTTON_POWER