summaryrefslogtreecommitdiff
path: root/uisimulator/sdl
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-07-07 04:23:03 +0000
committerMark Arigo <markarigo@gmail.com>2009-07-07 04:23:03 +0000
commitf820d36fe2aa1dd2a1df49b736a25f2d4c3c2ca3 (patch)
tree68bd12891f4ef7519989e294352c68322dc0ea0a /uisimulator/sdl
parentfb224bd0f93389a30960102e40280f8901b9d834 (diff)
downloadrockbox-f820d36fe2aa1dd2a1df49b736a25f2d4c3c2ca3.tar.gz
rockbox-f820d36fe2aa1dd2a1df49b736a25f2d4c3c2ca3.zip
Change the button definitions for the SA9200 sim too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21699 a1c6a512-1295-4272-9138-f99709370657
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: