diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2018-06-28 06:24:26 -0400 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2018-07-28 10:56:31 -0400 |
commit | 0662793ca0050e823cd1207cc4689a1cba5068bd (patch) | |
tree | 08cd2ec59c9044c96b697b5bf8d0640841d044e0 /apps/plugins/battery_bench.c | |
parent | b3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff) | |
download | rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip |
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork.
(original credit to vsoftster@gmail.com)
Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r-- | apps/plugins/battery_bench.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index bb9c3b0e6f..9a48ef2fdb 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c | |||
@@ -279,6 +279,12 @@ | |||
279 | #define BATTERY_OFF_TXT "Right" | 279 | #define BATTERY_OFF_TXT "Right" |
280 | #define BATTERY_ON_TXT "Left - start" | 280 | #define BATTERY_ON_TXT "Left - start" |
281 | 281 | ||
282 | #elif CONFIG_KEYPAD == XDUOO_X3_PAD | ||
283 | #define BATTERY_ON BUTTON_PLAY | ||
284 | #define BATTERY_OFF BUTTON_POWER | ||
285 | #define BATTERY_ON_TXT "PLAY - start" | ||
286 | #define BATTERY_OFF_TXT "POWER" | ||
287 | |||
282 | #else | 288 | #else |
283 | #error No keymap defined! | 289 | #error No keymap defined! |
284 | #endif | 290 | #endif |