diff options
-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); } + |