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/goban | |
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/goban')
-rw-r--r-- | apps/plugins/goban/goban.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index 135b9dbe95..d1d66e3535 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h | |||
@@ -452,6 +452,18 @@ | |||
452 | #define GBN_BUTTON_PLAY (BUTTON_SELECT | BUTTON_REL) | 452 | #define GBN_BUTTON_PLAY (BUTTON_SELECT | BUTTON_REL) |
453 | #define GBN_BUTTON_NAV_MODE BUTTON_VOLUP | 453 | #define GBN_BUTTON_NAV_MODE BUTTON_VOLUP |
454 | 454 | ||
455 | #elif (CONFIG_KEYPAD == XDUOO_X3_PAD) | ||
456 | #define GBN_BUTTON_UP BUTTON_HOME | ||
457 | #define GBN_BUTTON_DOWN BUTTON_OPTION | ||
458 | #define GBN_BUTTON_LEFT BUTTON_PREV | ||
459 | #define GBN_BUTTON_RIGHT BUTTON_NEXT | ||
460 | #define GBN_BUTTON_RETREAT BUTTON_VOL_DOWN | ||
461 | #define GBN_BUTTON_ADVANCE BUTTON_VOL_UP | ||
462 | #define GBN_BUTTON_MENU BUTTON_POWER | ||
463 | #define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL | ||
464 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT | ||
465 | #define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_POWER | ||
466 | |||
455 | #else | 467 | #else |
456 | #error Unsupported keypad | 468 | #error Unsupported keypad |
457 | #endif | 469 | #endif |