diff options
author | Marc Guay <marcguay@rockbox.org> | 2008-07-08 17:06:15 +0000 |
---|---|---|
committer | Marc Guay <marcguay@rockbox.org> | 2008-07-08 17:06:15 +0000 |
commit | 779c0eb5f09f3dd25392024faec266575a39db07 (patch) | |
tree | 8ae44d596d16e03d8bfa50f9dd1d968f18bf5c44 /uisimulator/sdl/button.c | |
parent | 2a4d6a6dba4b5a9a02f447718e09061f3319303d (diff) | |
download | rockbox-779c0eb5f09f3dd25392024faec266575a39db07.tar.gz rockbox-779c0eb5f09f3dd25392024faec266575a39db07.zip |
Fix the simulator buttons for the iPod scrollwheels. Closes FS#8956.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17988 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/button.c')
-rw-r--r-- | uisimulator/sdl/button.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c index 843f685226..9a4a3c1219 100644 --- a/uisimulator/sdl/button.c +++ b/uisimulator/sdl/button.c | |||
@@ -372,11 +372,11 @@ void button_event(int key, bool pressed) | |||
372 | break; | 372 | break; |
373 | case SDLK_KP8: | 373 | case SDLK_KP8: |
374 | case SDLK_UP: | 374 | case SDLK_UP: |
375 | new_btn = BUTTON_SCROLL_BACK; | 375 | new_btn = BUTTON_SCROLL_FWD; |
376 | break; | 376 | break; |
377 | case SDLK_KP2: | 377 | case SDLK_KP2: |
378 | case SDLK_DOWN: | 378 | case SDLK_DOWN: |
379 | new_btn = BUTTON_SCROLL_FWD; | 379 | new_btn = BUTTON_SCROLL_BACK; |
380 | break; | 380 | break; |
381 | case SDLK_KP_PLUS: | 381 | case SDLK_KP_PLUS: |
382 | case SDLK_F8: | 382 | case SDLK_F8: |