mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Sandisk Sansa Connect port (FS #12363)
Included are drivers for buttons, backlight, lcd, audio and storage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
992d4eb775
commit
e8a8a1be43
99 changed files with 4302 additions and 46 deletions
|
@ -330,6 +330,18 @@ static void setoptions (void)
|
|||
options.SELECT = (BUTTON_PLAYPAUSE | BUTTON_REPEAT);
|
||||
options.MENU = (BUTTON_SELECT | BUTTON_REPEAT);
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_CONNECT_PAD
|
||||
options.UP = BUTTON_UP;
|
||||
options.DOWN = BUTTON_DOWN;
|
||||
options.LEFT = BUTTON_LEFT;
|
||||
options.RIGHT = BUTTON_RIGHT;
|
||||
|
||||
options.A = BUTTON_VOL_UP;
|
||||
options.B = BUTTON_VOL_DOWN;
|
||||
options.START = BUTTON_PREV;
|
||||
options.SELECT = BUTTON_NEXT;
|
||||
options.MENU = BUTTON_SELECT;
|
||||
|
||||
#else
|
||||
#error No Keymap Defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue