summaryrefslogtreecommitdiffstats
path: root/uisimulator
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 /uisimulator
parent8bbd4d91a0d7a2933b3bec4cb74da50016e8dd1e (diff)
downloadrockbox-789452ac44ee37104def294c8f69e81aeb434e97.tar.gz
rockbox-789452ac44ee37104def294c8f69e81aeb434e97.tar.bz2
rockbox-789452ac44ee37104def294c8f69e81aeb434e97.zip
fuze+: correct UI simulator button map
Change-Id: I0df1b5f937305f1a0bc0568ee056edb1dd77f734 Signed-off-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'uisimulator')
-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)
}
struct button_map bm[] = {
- { SDLK_KP8, 70, 265, 35, "Up" },
- { SDLK_KP9, 141, 255, 31, "Play/Pause" },
- { SDLK_LEFT, 69, 329, 31, "Left" },
- { SDLK_SPACE, 141, 330, 20, "Select" },
- { SDLK_RIGHT, 214, 331, 23, "Right" },
- { SDLK_KP1, 69, 406, 30, "Bottom Left" },
- { SDLK_KP3, 142, 406, 30, "Bottom Right" },
- { SDLK_DOWN, 221, 384, 24, "Down" },
- { SDLK_KP_MINUS, 270, 150, 25, "Volume -" },
- { SDLK_KP_PLUS, 270, 180, 25, "Volume +" },
+ { SDLK_KP7, 69, 401, 39, "Back" },
+ { SDLK_KP8, 161, 404, 34, "Up" },
+ { SDLK_KP9, 258, 400, 43, "Play/Pause" },
+ { SDLK_KP4, 69, 477, 36, "Left" },
+ { SDLK_KP5, 161, 476, 31, "Select" },
+ { SDLK_KP6, 222, 474, 41, "Right" },
+ { SDLK_KP1, 82, 535, 34, "Bottom-Left" },
+ { SDLK_KP2, 162, 532, 33, "Down" },
+ { SDLK_KP3, 234, 535, 42, "Bottom-Right" },
+ { SDLK_KP_PLUS, 1, 128, 29, "Vol+" },
+ { SDLK_KP_MINUS, 5, 187, 30, "Vol-" },
+ { SDLK_HOME, 170, 6, 50, "Power" },
{ 0, 0, 0, 0, "None" }
};