summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-13 10:39:41 +0000
committerDave Chapman <dave@dchapman.com>2006-01-13 10:39:41 +0000
commitb855a9aeb68dfa8da6b760cba4e816e71d53b050 (patch)
tree222f0f0a0743e2f9a90799ca260bf669f9d7eb5e /uisimulator
parentcc4de76bdda84eb3f647ebdea200b682463df3f9 (diff)
downloadrockbox-b855a9aeb68dfa8da6b760cba4e816e71d53b050.tar.gz
rockbox-b855a9aeb68dfa8da6b760cba4e816e71d53b050.tar.bz2
rockbox-b855a9aeb68dfa8da6b760cba4e816e71d53b050.zip
Add button definitions for the iPod clickwheel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/button-x11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/uisimulator/sdl/button-x11.c b/uisimulator/sdl/button-x11.c
index 5fda7cf45a..7c41f24cc8 100644
--- a/uisimulator/sdl/button-x11.c
+++ b/uisimulator/sdl/button-x11.c
@@ -166,6 +166,8 @@ void button_read (void)
case SDLK_8:
#ifdef BUTTON_UP
k = BUTTON_UP;
+#elif defined BUTTON_SCROLL_BACK
+ k = BUTTON_SCROLL_BACK;
#elif defined BUTTON_PLAY
k = BUTTON_PLAY;
#endif
@@ -176,6 +178,8 @@ void button_read (void)
case SDLK_2:
#ifdef BUTTON_DOWN
k = BUTTON_DOWN;
+#elif defined BUTTON_SCROLL_FWD
+ k = BUTTON_SCROLL_FWD;
#elif defined BUTTON_STOP
k = BUTTON_STOP;
#endif