summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2012-05-17 19:22:10 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-17 19:22:42 +0200
commit789452ac44ee37104def294c8f69e81aeb434e97 (patch)
tree90ac79f29b142535f495baf8d65c85b46e9b08f2
parent8bbd4d91a0d7a2933b3bec4cb74da50016e8dd1e (diff)
downloadrockbox-789452ac44ee37104def294c8f69e81aeb434e97.tar.gz
rockbox-789452ac44ee37104def294c8f69e81aeb434e97.zip
fuze+: correct UI simulator button map
Change-Id: I0df1b5f937305f1a0bc0568ee056edb1dd77f734 Signed-off-by: Amaury Pouly <amaury.pouly@gmail.com>
-rw-r--r--uisimulator/buttonmap/sansa-fuzeplus.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/uisimulator/buttonmap/sansa-fuzeplus.c b/uisimulator/buttonmap/sansa-fuzeplus.c
index 27d4da2fa2..ef50009a35 100644
--- a/uisimulator/buttonmap/sansa-fuzeplus.c
+++ b/uisimulator/buttonmap/sansa-fuzeplus.c
@@ -78,15 +78,17 @@ int key_to_button(int keyboard_button)
78} 78}
79 79
80struct button_map bm[] = { 80struct button_map bm[] = {
81 { SDLK_KP8, 70, 265, 35, "Up" }, 81 { SDLK_KP7, 69, 401, 39, "Back" },
82 { SDLK_KP9, 141, 255, 31, "Play/Pause" }, 82 { SDLK_KP8, 161, 404, 34, "Up" },
83 { SDLK_LEFT, 69, 329, 31, "Left" }, 83 { SDLK_KP9, 258, 400, 43, "Play/Pause" },
84 { SDLK_SPACE, 141, 330, 20, "Select" }, 84 { SDLK_KP4, 69, 477, 36, "Left" },
85 { SDLK_RIGHT, 214, 331, 23, "Right" }, 85 { SDLK_KP5, 161, 476, 31, "Select" },
86 { SDLK_KP1, 69, 406, 30, "Bottom Left" }, 86 { SDLK_KP6, 222, 474, 41, "Right" },
87 { SDLK_KP3, 142, 406, 30, "Bottom Right" }, 87 { SDLK_KP1, 82, 535, 34, "Bottom-Left" },
88 { SDLK_DOWN, 221, 384, 24, "Down" }, 88 { SDLK_KP2, 162, 532, 33, "Down" },
89 { SDLK_KP_MINUS, 270, 150, 25, "Volume -" }, 89 { SDLK_KP3, 234, 535, 42, "Bottom-Right" },
90 { SDLK_KP_PLUS, 270, 180, 25, "Volume +" }, 90 { SDLK_KP_PLUS, 1, 128, 29, "Vol+" },
91 { SDLK_KP_MINUS, 5, 187, 30, "Vol-" },
92 { SDLK_HOME, 170, 6, 50, "Power" },
91 { 0, 0, 0, 0, "None" } 93 { 0, 0, 0, 0, "None" }
92}; 94};