Simulator ClipZip ClipPlus add power and volume buttons

Change-Id: I6c7997f436bd0d7f5c0421489823d481b0396eea
This commit is contained in:
William Wilgus 2024-12-28 12:00:18 -05:00
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

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Before After
Before After

View file

@ -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