summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-02-14 11:46:18 +0000
committerDan Everton <dan@iocaine.org>2006-02-14 11:46:18 +0000
commit853085ccc8f6e83e65ea72c44796e9e78fdeb64e (patch)
tree5810d59e380aea50f362e896cd321e7e56a50d1e /uisimulator
parent1c39855787faa521aa30d674527642c610f45896 (diff)
downloadrockbox-853085ccc8f6e83e65ea72c44796e9e78fdeb64e.tar.gz
rockbox-853085ccc8f6e83e65ea72c44796e9e78fdeb64e.tar.bz2
rockbox-853085ccc8f6e83e65ea72c44796e9e78fdeb64e.zip
Reverse scroll forwardd/back button mapping for iPod in the SDL sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8690 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-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 e8db43930f..671cf12d5c 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -63,8 +63,8 @@ void button_event(int key, bool pressed)
case SDLK_UP:
#ifdef BUTTON_UP
new_btn = BUTTON_UP;
-#elif defined BUTTON_SCROLL_FWD
- new_btn = BUTTON_SCROLL_FWD;
+#elif defined BUTTON_SCROLL_BACK
+ new_btn = BUTTON_SCROLL_BACK;
#elif defined BUTTON_PLAY
new_btn = BUTTON_PLAY;
#endif
@@ -74,8 +74,8 @@ void button_event(int key, bool pressed)
case SDLK_DOWN:
#ifdef BUTTON_DOWN
new_btn = BUTTON_DOWN;
-#elif defined BUTTON_SCROLL_BACK
- new_btn = BUTTON_SCROLL_BACK;
+#elif defined BUTTON_SCROLL_FWD
+ new_btn = BUTTON_SCROLL_FWD;
#elif defined BUTTON_STOP
new_btn = BUTTON_STOP;
#endif