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/greyscale.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/greyscale.c')
-rw-r--r-- | apps/plugins/greyscale.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c index 4dd29cee0b..ae873a06ac 100644 --- a/apps/plugins/greyscale.c +++ b/apps/plugins/greyscale.c | |||
@@ -108,6 +108,14 @@ | |||
108 | #define GREYSCALE_RIGHT BUTTON_RIGHT | 108 | #define GREYSCALE_RIGHT BUTTON_RIGHT |
109 | #define GREYSCALE_OFF BUTTON_PLAY | 109 | #define GREYSCALE_OFF BUTTON_PLAY |
110 | 110 | ||
111 | #elif CONFIG_KEYPAD == XDUOO_X3_PAD | ||
112 | #define GREYSCALE_SHIFT BUTTON_PLAY | ||
113 | #define GREYSCALE_UP BUTTON_HOME | ||
114 | #define GREYSCALE_DOWN BUTTON_OPTION | ||
115 | #define GREYSCALE_LEFT BUTTON_PREV | ||
116 | #define GREYSCALE_RIGHT BUTTON_NEXT | ||
117 | #define GREYSCALE_OFF BUTTON_POWER | ||
118 | |||
111 | #endif | 119 | #endif |
112 | 120 | ||
113 | #define GFX_HEIGHT (LCD_HEIGHT-8) | 121 | #define GFX_HEIGHT (LCD_HEIGHT-8) |