mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Add Xuelin iHIFI 770/770C/800 support
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
This commit is contained in:
parent
af9459a799
commit
d4942cc74c
95 changed files with 4419 additions and 534 deletions
|
@ -433,6 +433,26 @@ static void setoptions (void)
|
|||
options.SELECT = BUTTON_VOL_UP;
|
||||
options.MENU = BUTTON_POWER;
|
||||
|
||||
#elif CONFIG_KEYPAD == IHIFI_770_PAD
|
||||
options.UP = BUTTON_PREV;
|
||||
options.DOWN = BUTTON_NEXT;
|
||||
|
||||
options.A = BUTTON_VOL_UP;
|
||||
options.B = BUTTON_VOL_DOWN;
|
||||
options.START = BUTTON_PLAY;
|
||||
options.SELECT = BUTTON_HOME;
|
||||
options.MENU = BUTTON_POWER;
|
||||
|
||||
#elif CONFIG_KEYPAD == IHIFI_800_PAD
|
||||
options.UP = BUTTON_PREV;
|
||||
options.DOWN = BUTTON_NEXT;
|
||||
|
||||
options.A = BUTTON_VOL_UP;
|
||||
options.B = BUTTON_VOL_DOWN;
|
||||
options.START = BUTTON_PLAY;
|
||||
options.SELECT = BUTTON_HOME;
|
||||
options.MENU = BUTTON_POWER;
|
||||
|
||||
#else
|
||||
#error No Keymap Defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue