diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-11-05 13:01:55 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-06 18:15:41 +0200 |
commit | 180cef835bf40d0081895773aaa637ac926bb0ac (patch) | |
tree | 48c380d76c0ea40931cb5e863b40fc5dfa1ecba4 /apps/plugins/midi | |
parent | ced3a20aacf26642ccc3ffd136f64247c67e5769 (diff) | |
download | rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.tar.gz rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.zip |
xDuoo X3II and X20 port
Provided by Roman Stolyarov
Integration, Refactoring, and Upstreaming by Solomon Peachy
X3II confirmed working by forum tester, X20 is nearly identical.
This includes bootloader, main firmware, and the flash image patcher.
Eventual Todo:
* Further refactor AGPTek Rocker & xduoo hiby bootloaders
* Further refactor AGPTek Rocker & xduoo hosted platform code
Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r-- | apps/plugins/midi/midiplay.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index 8e867e5173..e6e2b4bf51 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c | |||
@@ -301,6 +301,22 @@ | |||
301 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN | 301 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN |
302 | #define MIDI_PLAYPAUSE BUTTON_PLAY | 302 | #define MIDI_PLAYPAUSE BUTTON_PLAY |
303 | 303 | ||
304 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD | ||
305 | #define MIDI_QUIT BUTTON_POWER | ||
306 | #define MIDI_FFWD BUTTON_NEXT | ||
307 | #define MIDI_REWIND BUTTON_PREV | ||
308 | #define MIDI_VOL_UP BUTTON_VOL_UP | ||
309 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN | ||
310 | #define MIDI_PLAYPAUSE BUTTON_PLAY | ||
311 | |||
312 | #elif CONFIG_KEYPAD == XDUOO_X20_PAD | ||
313 | #define MIDI_QUIT BUTTON_POWER | ||
314 | #define MIDI_FFWD BUTTON_NEXT | ||
315 | #define MIDI_REWIND BUTTON_PREV | ||
316 | #define MIDI_VOL_UP BUTTON_VOL_UP | ||
317 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN | ||
318 | #define MIDI_PLAYPAUSE BUTTON_PLAY | ||
319 | |||
304 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 320 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
305 | #define MIDI_QUIT BUTTON_POWER | 321 | #define MIDI_QUIT BUTTON_POWER |
306 | #define MIDI_FFWD BUTTON_VOL_DOWN | 322 | #define MIDI_FFWD BUTTON_VOL_DOWN |