mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27: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
|
@ -317,6 +317,22 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define PONG_RIGHT_UP BUTTON_HOME
|
||||
#define PONG_RIGHT_DOWN BUTTON_NEXT
|
||||
|
||||
#elif CONFIG_KEYPAD == IHIFI_770_PAD
|
||||
#define PONG_QUIT BUTTON_POWER
|
||||
#define PONG_PAUSE BUTTON_PREV
|
||||
#define PONG_LEFT_UP BUTTON_PLAY
|
||||
#define PONG_LEFT_DOWN BUTTON_HOME
|
||||
#define PONG_RIGHT_UP BUTTON_VOL_UP
|
||||
#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == IHIFI_800_PAD
|
||||
#define PONG_QUIT BUTTON_POWER
|
||||
#define PONG_PAUSE BUTTON_PREV
|
||||
#define PONG_LEFT_UP BUTTON_PLAY
|
||||
#define PONG_LEFT_DOWN BUTTON_HOME
|
||||
#define PONG_RIGHT_UP BUTTON_VOL_UP
|
||||
#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue