diff options
author | Mark Arigo <markarigo@gmail.com> | 2009-07-07 04:23:03 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2009-07-07 04:23:03 +0000 |
commit | f820d36fe2aa1dd2a1df49b736a25f2d4c3c2ca3 (patch) | |
tree | 68bd12891f4ef7519989e294352c68322dc0ea0a | |
parent | fb224bd0f93389a30960102e40280f8901b9d834 (diff) |
Change the button definitions for the SA9200 sim too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21699 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | uisimulator/sdl/button.c | 8 |
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) #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD case SDLK_KP4: case SDLK_LEFT: - new_btn = BUTTON_REW; + new_btn = BUTTON_LEFT; break; case SDLK_KP6: case SDLK_RIGHT: - new_btn = BUTTON_FFWD; + new_btn = BUTTON_RIGHT; break; case SDLK_KP8: case SDLK_UP: @@ -1069,10 +1069,10 @@ void button_event(int key, bool pressed) new_btn = BUTTON_PLAY; break; case SDLK_KP7: - new_btn = BUTTON_LEFT; + new_btn = BUTTON_PREV; break; case SDLK_KP9: - new_btn = BUTTON_RIGHT; + new_btn = BUTTON_NEXT; break; case SDLK_KP_ENTER: case SDLK_RETURN: |