summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.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/battery_bench.c
parentfb3f7651fd68bf3b8c7e4dbd62dbb2b3505f929a (diff)
Zen XFi2: Enable Plugins
Keymaps aren't tested, there may be room for improvement. Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r--apps/plugins/battery_bench.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 437e777976..2cdf510b3a 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -267,6 +267,12 @@
#define BATTERY_OFF_TXT "Power Long"
#define BATTERY_ON_TXT "Play - start"
+#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD
+#define BATTERY_ON BUTTON_MENU
+#define BATTERY_OFF BUTTON_POWER
+#define BATTERY_OFF_TXT "Power"
+#define BATTERY_ON_TXT "Menu - start"
+
#else
#error No keymap defined!
#endif