diff options
-rw-r--r-- | uisimulator/buttonmap/sansa-clip.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/uisimulator/buttonmap/sansa-clip.c b/uisimulator/buttonmap/sansa-clip.c index c1997ade6d..e6136a4224 100644 --- a/uisimulator/buttonmap/sansa-clip.c +++ b/uisimulator/buttonmap/sansa-clip.c | |||
@@ -70,6 +70,17 @@ int key_to_button(int keyboard_button) | |||
70 | return new_btn; | 70 | return new_btn; |
71 | } | 71 | } |
72 | 72 | ||
73 | #ifdef SANSA_CLIPZIP | ||
74 | struct button_map bm[] = { | ||
75 | { SDLK_KP_MULTIPLY, 31, 171, 12, "Home" }, | ||
76 | { SDLK_KP5, 81, 211, 10, "Select" }, | ||
77 | { SDLK_KP8, 81, 186, 13, "Play" }, | ||
78 | { SDLK_KP4, 32, 211, 14, "Left" }, | ||
79 | { SDLK_KP6, 112, 211, 14, "Right" }, | ||
80 | { SDLK_KP2, 81, 231, 14, "Menu" }, | ||
81 | { 0, 0, 0, 0, "None" } | ||
82 | }; | ||
83 | #else | ||
73 | struct button_map bm[] = { | 84 | struct button_map bm[] = { |
74 | { SDLK_KP_MULTIPLY, 165, 158, 17, "Home" }, | 85 | { SDLK_KP_MULTIPLY, 165, 158, 17, "Home" }, |
75 | { SDLK_KP5, 102, 230, 29, "Select" }, | 86 | { SDLK_KP5, 102, 230, 29, "Select" }, |
@@ -79,3 +90,4 @@ struct button_map bm[] = { | |||
79 | { SDLK_KP2, 105, 275, 22, "Menu" }, | 90 | { SDLK_KP2, 105, 275, 22, "Menu" }, |
80 | { 0, 0, 0, 0, "None" } | 91 | { 0, 0, 0, 0, "None" } |
81 | }; | 92 | }; |
93 | #endif | ||