diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 18:17:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-09 12:41:18 -0400 |
commit | aabc8aca47e60cf745a34af28c50679fcb967910 (patch) | |
tree | cfe17f546aae9785fb13482f39527e2da0597ccb /apps/plugins/midi | |
parent | 4231c2c83f2b5331e3e38b10a308ee3752315f9c (diff) | |
download | rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.tar.gz rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.zip |
New port: FiiO M3K
Most credit goes to: Roman Skylarov
Additional integration and refactoring by myself.
*** COMPLETELY UNTESTED ***
Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r-- | apps/plugins/midi/midiplay.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index e6e2b4bf51..e34cedde21 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c | |||
@@ -317,6 +317,14 @@ | |||
317 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN | 317 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN |
318 | #define MIDI_PLAYPAUSE BUTTON_PLAY | 318 | #define MIDI_PLAYPAUSE BUTTON_PLAY |
319 | 319 | ||
320 | #elif CONFIG_KEYPAD == FIIO_M3K_PAD | ||
321 | #define MIDI_QUIT BUTTON_POWER | ||
322 | #define MIDI_FFWD BUTTON_NEXT | ||
323 | #define MIDI_REWIND BUTTON_PREV | ||
324 | #define MIDI_VOL_UP BUTTON_VOL_UP | ||
325 | #define MIDI_VOL_DOWN BUTTON_VOL_DOWN | ||
326 | #define MIDI_PLAYPAUSE BUTTON_PLAY | ||
327 | |||
320 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 328 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
321 | #define MIDI_QUIT BUTTON_POWER | 329 | #define MIDI_QUIT BUTTON_POWER |
322 | #define MIDI_FFWD BUTTON_VOL_DOWN | 330 | #define MIDI_FFWD BUTTON_VOL_DOWN |