From f820d36fe2aa1dd2a1df49b736a25f2d4c3c2ca3 Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Tue, 7 Jul 2009 04:23:03 +0000 Subject: Change the button definitions for the SA9200 sim too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21699 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/button.c | 8 ++++---- 1 file 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: -- cgit v1.2.3