summaryrefslogtreecommitdiffstats
path: root/apps/plugins/blackjack.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2014-07-17 10:40:17 +0200
commite08331eef4555a17145d2fd2af1d5a9b5ce6d624 (patch)
treedb41fe84f8175d36525ccb7ae21995584a008253 /apps/plugins/blackjack.c
parent2387d92c9c39f238d3d193d970edf30162d8ec9e (diff)
downloadrockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.tar.gz
rockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.tar.bz2
rockbox-e08331eef4555a17145d2fd2af1d5a9b5ce6d624.zip
zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins
Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size. Change-Id: If4651c87b402060faa24530985c6e871379c8ea1
Diffstat (limited to 'apps/plugins/blackjack.c')
-rw-r--r--apps/plugins/blackjack.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c
index 206d4dca0c..2211f88620 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
@@ -527,6 +527,20 @@ enum {
#define BJACK_QUIT_NAME "Back"
#define BJACK_DOUBLE_NAME "Option+Down"
+#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD
+#define BJACK_SELECT BUTTON_SELECT
+#define BJACK_QUIT BUTTON_BACK
+#define BJACK_STAY BUTTON_PLAYPAUSE
+#define BJACK_DOUBLEDOWN BUTTON_SHORTCUT
+#define BJACK_UP BUTTON_UP
+#define BJACK_DOWN BUTTON_DOWN
+#define BJACK_RIGHT BUTTON_RIGHT
+#define BJACK_LEFT BUTTON_LEFT
+#define BJACK_SELECT_NAME "Select"
+#define BJACK_STAY_NAME "Play/Pause"
+#define BJACK_QUIT_NAME "Back"
+#define BJACK_DOUBLE_NAME "Shortcut"
+
#else
#error No keymap defined!
#endif