mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Simulator ClipZip ClipPlus add power and volume buttons
Change-Id: I6c7997f436bd0d7f5c0421489823d481b0396eea
This commit is contained in:
parent
bfef0a2d6c
commit
fc26ba3f20
3 changed files with 9 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 260 KiB |
Binary file not shown.
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 159 KiB |
|
@ -78,6 +78,10 @@ struct button_map bm[] = {
|
|||
{ SDLK_KP_4, 32, 211, 14, "Left" },
|
||||
{ SDLK_KP_6, 112, 211, 14, "Right" },
|
||||
{ SDLK_KP_2, 81, 231, 14, "Menu" },
|
||||
{ SDLK_PAGEUP, 1, 70, 10, "Vol+" },
|
||||
{ SDLK_PAGEDOWN, 1, 130, 10, "Vol-" },
|
||||
{ SDLK_ESCAPE, 81, 1, 10, "Power" },
|
||||
|
||||
{ 0, 0, 0, 0, "None" }
|
||||
};
|
||||
#else
|
||||
|
@ -93,6 +97,11 @@ struct button_map bm[] = {
|
|||
{ SDLK_KP_6, 140, 236, 19, "Right" },
|
||||
{ SDLK_KP_2, 98, 272, 19, "Menu" },
|
||||
{ SDLK_KP_2, 104, 272, 19, "Menu" },
|
||||
#ifdef SANSA_CLIPPLUS
|
||||
{ SDLK_PAGEUP, 1, 95, 10, "Vol+" },
|
||||
{ SDLK_PAGEDOWN, 1, 155, 10, "Vol-" },
|
||||
{ SDLK_ESCAPE, 150, 1, 10, "Power" },
|
||||
#endif
|
||||
{ 0, 0, 0, 0, "None" }
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue