diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-13 09:43:50 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-13 09:43:50 +0000 |
commit | 414ee9fcc5908b4887134f75fd656ae1966a5c65 (patch) | |
tree | 3094ac7825a8c76a2cc6a808fe0953025370e944 /uisimulator | |
parent | 121af38deeac602be91ed658d4afae8ef90cce75 (diff) |
Fix wheel in sansa simulator, closes FS#7591
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14308 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/sdl/button.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c index 38ef435ebb..a435fd2c4e 100644 --- a/uisimulator/sdl/button.c +++ b/uisimulator/sdl/button.c @@ -722,7 +722,8 @@ long button_get_w_tmo(int ticks) intptr_t button_get_data(void) { - return button_data; + /* Needed by the accelerating wheel driver for Sansa e200 */ + return 1 << 24; } void button_init(void) @@ -738,3 +739,4 @@ void button_clear_queue(void) { queue_clear(&button_queue); } + |