diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-05-30 11:01:29 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-05-30 11:01:29 -0400 |
commit | 7ec1151dddb0b15796113e41284757408e94a63f (patch) | |
tree | f243b05907edf457efa875c039a86123d2fd7c04 | |
parent | 3a60f3a0f74f7aef53faf57cb06e7ef55875d8a1 (diff) | |
download | rockbox-7ec1151ddd.tar.gz rockbox-7ec1151ddd.zip |
[BugFix] add button maps for iPod6GSim
Change-Id: I395d940a1b7dd3cb858a178150762b2301a3ca12
-rw-r--r-- | uisimulator/buttonmap/ipod.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/uisimulator/buttonmap/ipod.c b/uisimulator/buttonmap/ipod.c index 1fc95d8dd1..d516364b5f 100644 --- a/uisimulator/buttonmap/ipod.c +++ b/uisimulator/buttonmap/ipod.c @@ -54,6 +54,7 @@ int key_to_button(int keyboard_button) case SDLK_SPACE: new_btn = BUTTON_SELECT; break; + case SDLK_ESCAPE: case SDLK_KP_PERIOD: case SDLK_INSERT: new_btn = BUTTON_MENU; @@ -101,6 +102,14 @@ struct button_map bm[] = { { SDLK_KP_PLUS, 95, 326, 27, "Play" }, { SDLK_KP8, 57, 233, 29, "Scroll Back" }, { SDLK_KP2, 132, 226, 29, "Scroll Fwd" }, +#elif defined (IPOD_6G) + { SDLK_KP5, 175, 432, 45, "Select" }, + { SDLK_KP4, 75, 432, 38, "Left" }, + { SDLK_KP6, 275, 432, 39, "Right" }, + { SDLK_KP_PERIOD, 175, 350, 34, "Menu" }, + { SDLK_KP_PLUS, 175, 539, 41, "Play" }, + { SDLK_KP8, 100, 375, 35, "Scroll Back" }, + { SDLK_KP2, 245, 375, 35, "Scroll Fwd" }, #elif defined (IPOD_COLOR) { SDLK_KP5, 128, 362, 35, "Select" }, { SDLK_KP4, 55, 358, 38, "Left" }, |