diff options
Diffstat (limited to 'uisimulator/buttonmap')
-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) | |||
54 | case SDLK_SPACE: | 54 | case SDLK_SPACE: |
55 | new_btn = BUTTON_SELECT; | 55 | new_btn = BUTTON_SELECT; |
56 | break; | 56 | break; |
57 | case SDLK_ESCAPE: | ||
57 | case SDLK_KP_PERIOD: | 58 | case SDLK_KP_PERIOD: |
58 | case SDLK_INSERT: | 59 | case SDLK_INSERT: |
59 | new_btn = BUTTON_MENU; | 60 | new_btn = BUTTON_MENU; |
@@ -101,6 +102,14 @@ struct button_map bm[] = { | |||
101 | { SDLK_KP_PLUS, 95, 326, 27, "Play" }, | 102 | { SDLK_KP_PLUS, 95, 326, 27, "Play" }, |
102 | { SDLK_KP8, 57, 233, 29, "Scroll Back" }, | 103 | { SDLK_KP8, 57, 233, 29, "Scroll Back" }, |
103 | { SDLK_KP2, 132, 226, 29, "Scroll Fwd" }, | 104 | { SDLK_KP2, 132, 226, 29, "Scroll Fwd" }, |
105 | #elif defined (IPOD_6G) | ||
106 | { SDLK_KP5, 175, 432, 45, "Select" }, | ||
107 | { SDLK_KP4, 75, 432, 38, "Left" }, | ||
108 | { SDLK_KP6, 275, 432, 39, "Right" }, | ||
109 | { SDLK_KP_PERIOD, 175, 350, 34, "Menu" }, | ||
110 | { SDLK_KP_PLUS, 175, 539, 41, "Play" }, | ||
111 | { SDLK_KP8, 100, 375, 35, "Scroll Back" }, | ||
112 | { SDLK_KP2, 245, 375, 35, "Scroll Fwd" }, | ||
104 | #elif defined (IPOD_COLOR) | 113 | #elif defined (IPOD_COLOR) |
105 | { SDLK_KP5, 128, 362, 35, "Select" }, | 114 | { SDLK_KP5, 128, 362, 35, "Select" }, |
106 | { SDLK_KP4, 55, 358, 38, "Left" }, | 115 | { SDLK_KP4, 55, 358, 38, "Left" }, |