summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Guay <marcguay@rockbox.org>2008-07-08 17:06:15 +0000
committerMarc Guay <marcguay@rockbox.org>2008-07-08 17:06:15 +0000
commit779c0eb5f09f3dd25392024faec266575a39db07 (patch)
tree8ae44d596d16e03d8bfa50f9dd1d968f18bf5c44
parent2a4d6a6dba4b5a9a02f447718e09061f3319303d (diff)
downloadrockbox-779c0eb5f09f3dd25392024faec266575a39db07.tar.gz
rockbox-779c0eb5f09f3dd25392024faec266575a39db07.tar.bz2
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
-rw-r--r--uisimulator/sdl/button.c4
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)
break;
case SDLK_KP8:
case SDLK_UP:
- new_btn = BUTTON_SCROLL_BACK;
+ new_btn = BUTTON_SCROLL_FWD;
break;
case SDLK_KP2:
case SDLK_DOWN:
- new_btn = BUTTON_SCROLL_FWD;
+ new_btn = BUTTON_SCROLL_BACK;
break;
case SDLK_KP_PLUS:
case SDLK_F8: