summaryrefslogtreecommitdiff
path: root/uisimulator/buttonmap/creative-zenxfi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/buttonmap/creative-zenxfi3.c')
-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)
34 new_btn = BUTTON_LEFT; 34 new_btn = BUTTON_LEFT;
35 break; 35 break;
36 case SDLK_KP6: 36 case SDLK_KP6:
37 case SDLK_RIGHT: 37 case SDLK_RETURN:
38 new_btn = BUTTON_RIGHT; 38 new_btn = BUTTON_PLAY;
39 break; 39 break;
40 case SDLK_KP8: 40 case SDLK_KP8:
41 case SDLK_UP: 41 case SDLK_UP:
@@ -45,8 +45,8 @@ int key_to_button(int keyboard_button)
45 case SDLK_DOWN: 45 case SDLK_DOWN:
46 new_btn = BUTTON_DOWN; 46 new_btn = BUTTON_DOWN;
47 break; 47 break;
48 case SDLK_PAGEDOWN:
49 case SDLK_KP3: 48 case SDLK_KP3:
49 case SDLK_RIGHT:
50 new_btn = BUTTON_MENU; 50 new_btn = BUTTON_MENU;
51 break; 51 break;
52 case SDLK_KP_PLUS: 52 case SDLK_KP_PLUS:
@@ -64,7 +64,7 @@ int key_to_button(int keyboard_button)
64 64
65struct button_map bm[] = { 65struct button_map bm[] = {
66 { SDLK_LEFT, 69, 303, 10, "Left" }, 66 { SDLK_LEFT, 69, 303, 10, "Left" },
67 { SDLK_RIGHT, 241, 172, 10, "Right" }, 67 { SDLK_RETURN, 241, 172, 10, "Play/Pause" },
68 { SDLK_UP, 240, 87, 10, "Up" }, 68 { SDLK_UP, 240, 87, 10, "Up" },
69 { SDLK_DOWN, 239, 264, 10, "Down" }, 69 { SDLK_DOWN, 239, 264, 10, "Down" },
70 { SDLK_PAGEDOWN, 191, 303, 10, "Menu" }, 70 { SDLK_PAGEDOWN, 191, 303, 10, "Menu" },