mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Sansa Clip simulator
First draft at keymapping based on e200 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18948 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c5685ed72d
commit
cd9b1379ff
10 changed files with 390 additions and 22 deletions
|
|
@ -50,10 +50,10 @@ int button_read_device(void)
|
|||
/* C4B0 is unused */
|
||||
|
||||
if (GPIOB_PIN(1))
|
||||
result |= BUTTON_VOLUP;
|
||||
result |= BUTTON_VOL_UP;
|
||||
|
||||
if (GPIOB_PIN(2))
|
||||
result |= BUTTON_PLAY;
|
||||
result |= BUTTON_UP;
|
||||
|
||||
GPIOC_PIN(4) = 0x00;
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ int button_read_device(void)
|
|||
result |= BUTTON_DOWN;
|
||||
|
||||
if (GPIOB_PIN(1))
|
||||
result |= BUTTON_VOLDOWN;
|
||||
result |= BUTTON_VOL_DOWN;
|
||||
|
||||
if (GPIOB_PIN(2))
|
||||
result |= BUTTON_HOME;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue