summaryrefslogtreecommitdiff
path: root/uisimulator/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r--uisimulator/sdl/button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index da9af641c8..8bc49e1522 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -1050,11 +1050,11 @@ void button_event(int key, bool pressed)
1050#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD 1050#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
1051 case SDLK_KP4: 1051 case SDLK_KP4:
1052 case SDLK_LEFT: 1052 case SDLK_LEFT:
1053 new_btn = BUTTON_REW; 1053 new_btn = BUTTON_LEFT;
1054 break; 1054 break;
1055 case SDLK_KP6: 1055 case SDLK_KP6:
1056 case SDLK_RIGHT: 1056 case SDLK_RIGHT:
1057 new_btn = BUTTON_FFWD; 1057 new_btn = BUTTON_RIGHT;
1058 break; 1058 break;
1059 case SDLK_KP8: 1059 case SDLK_KP8:
1060 case SDLK_UP: 1060 case SDLK_UP:
@@ -1069,10 +1069,10 @@ void button_event(int key, bool pressed)
1069 new_btn = BUTTON_PLAY; 1069 new_btn = BUTTON_PLAY;
1070 break; 1070 break;
1071 case SDLK_KP7: 1071 case SDLK_KP7:
1072 new_btn = BUTTON_LEFT; 1072 new_btn = BUTTON_PREV;
1073 break; 1073 break;
1074 case SDLK_KP9: 1074 case SDLK_KP9:
1075 new_btn = BUTTON_RIGHT; 1075 new_btn = BUTTON_NEXT;
1076 break; 1076 break;
1077 case SDLK_KP_ENTER: 1077 case SDLK_KP_ENTER:
1078 case SDLK_RETURN: 1078 case SDLK_RETURN: