summaryrefslogtreecommitdiffstats
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2018-02-22 23:42:29 +0100
committerSebastian Leonhardt <sebastian.leonhardt@web.de>2018-04-03 11:34:01 +0200
commit0486e5b93e422d0bd240439f02a8509a6c5bcbc5 (patch)
treec0da5e6a86d5f352e89cedaed515c3ce201481b9 /apps/plugins/star.c
parentfb3f7651fd68bf3b8c7e4dbd62dbb2b3505f929a (diff)
downloadrockbox-0486e5b93e422d0bd240439f02a8509a6c5bcbc5.tar.gz
rockbox-0486e5b93e422d0bd240439f02a8509a6c5bcbc5.tar.bz2
rockbox-0486e5b93e422d0bd240439f02a8509a6c5bcbc5.zip
Zen XFi2: Enable Plugins
Keymaps aren't tested, there may be room for improvement. Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index c7e685e2c5..3560c077f5 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -601,6 +601,12 @@
#define STAR_QUIT BUTTON_POWER
#define STAR_QUIT_NAME "Power"
+#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD
+#define STAR_QUIT BUTTON_POWER
+#define STAR_QUIT_NAME "POWER"
+#define STAR_TOGGLE_CONTROL BUTTON_MENU
+#define STAR_TOGGLE_CONTROL_NAME "MENU"
+
#else
#error No keymap defined!
#endif