summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-20 23:59:40 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-09-21 00:29:42 +0100
commit5918e18e816e23fa9c097d0e8cf0a5813538018b (patch)
tree64186bfe3d0332abe2c5c3d80f1f5e4900a88775 /uisimulator
parent9dc4b00df1a997e8b9223c040c27392d1d2151e3 (diff)
downloadrockbox-5918e18e816e23fa9c097d0e8cf0a5813538018b.tar.gz
rockbox-5918e18e816e23fa9c097d0e8cf0a5813538018b.tar.bz2
rockbox-5918e18e816e23fa9c097d0e8cf0a5813538018b.zip
zenxfi3: fix recording keymap and simulator keymap
Change-Id: I246834b5244d4e0f672633d2960db45278e12ec4
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/buttonmap/creative-zenxfi3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/uisimulator/buttonmap/creative-zenxfi3.c b/uisimulator/buttonmap/creative-zenxfi3.c
index fcf78a3e90..fd17d18dd3 100644
--- a/uisimulator/buttonmap/creative-zenxfi3.c
+++ b/uisimulator/buttonmap/creative-zenxfi3.c
@@ -34,8 +34,8 @@ int key_to_button(int keyboard_button)
new_btn = BUTTON_LEFT;
break;
case SDLK_KP6:
- case SDLK_RIGHT:
- new_btn = BUTTON_RIGHT;
+ case SDLK_RETURN:
+ new_btn = BUTTON_PLAY;
break;
case SDLK_KP8:
case SDLK_UP:
@@ -45,8 +45,8 @@ int key_to_button(int keyboard_button)
case SDLK_DOWN:
new_btn = BUTTON_DOWN;
break;
- case SDLK_PAGEDOWN:
case SDLK_KP3:
+ case SDLK_RIGHT:
new_btn = BUTTON_MENU;
break;
case SDLK_KP_PLUS:
@@ -64,7 +64,7 @@ int key_to_button(int keyboard_button)
struct button_map bm[] = {
{ SDLK_LEFT, 69, 303, 10, "Left" },
- { SDLK_RIGHT, 241, 172, 10, "Right" },
+ { SDLK_RETURN, 241, 172, 10, "Play/Pause" },
{ SDLK_UP, 240, 87, 10, "Up" },
{ SDLK_DOWN, 239, 264, 10, "Down" },
{ SDLK_PAGEDOWN, 191, 303, 10, "Menu" },