summaryrefslogtreecommitdiff
path: root/apps/plugins/blackjack.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:04:48 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:04:48 +0000
commitbf496644dae1af44e0020f5bf7d7ecbd909b8ea0 (patch)
tree02c226c6ef881f2b4ed04f969e6c3ff7d3c02a58 /apps/plugins/blackjack.c
parent706f0be85e145b45bd66ecfe4111be42dad74385 (diff)
fuze+: add blackjack keymap (unsure about resume)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30656 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/blackjack.c')
-rw-r--r--apps/plugins/blackjack.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c
index 67a66141fc..578136802c 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
@@ -450,6 +450,21 @@ enum {
#define BJACK_RIGHT BUTTON_FF
#define BJACK_LEFT BUTTON_REW
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define BJACK_SELECT_NAME "SELECT"
+#define BJACK_STAY_NAME "PLAYPAUSE"
+#define BJACK_RESUME_NAME ""
+#define BJACK_QUIT_NAME "POWER"
+#define BJACK_DOUBLE_NAME "BACK"
+#define BJACK_SELECT BUTTON_SELECT
+#define BJACK_QUIT BUTTON_POWER
+#define BJACK_STAY BUTTON_PLAYPAUSE
+#define BJACK_DOUBLEDOWN BUTTON_BACK
+#define BJACK_UP BUTTON_UP
+#define BJACK_DOWN BUTTON_DOWN
+#define BJACK_RIGHT BUTTON_RIGHT
+#define BJACK_LEFT BUTTON_LEFT
+
#else
#error No keymap defined!
#endif