rockbox/firmware/target/hosted/sdl
Thomas Martitz 33af0dec28 Touchscreen: Improved scroll threshold
Remove the hardcoded (and way too small) scroll threshold (the distance moved in pixels before we think the users wants to scroll) and replace it with something based on the actual DPI of the screen.
On Android we call the API for that, on other touchscreens we reimplemented Android's formula (as of 2.2) and calculate it.

Flyspray: 11727

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28548 a1c6a512-1295-4272-9138-f99709370657
2010-11-10 15:25:15 +00:00
..
app fix button maps and assign some buttons for uisimulator. 2010-10-13 12:54:25 +00:00
button-sdl.c Make --zoom option of the sdl port correctly work with mouse clicks. 2010-11-05 21:50:23 +00:00
button-sdl.h Correct button_read_device prototype for HAVE_BUTTON_DATA. 2010-05-15 22:31:25 +00:00
buttonmap.h Rockbox as an application: Add an 320x240 SDL application target. 2010-07-06 15:11:56 +00:00
kernel-sdl.c Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h. 2010-08-12 13:55:01 +00:00
key_to_touch-sdl.c fix button maps and assign some buttons for uisimulator. 2010-10-13 12:54:25 +00:00
lcd-bitmap.c Rename sdl lcd initialization to (remote_)lcd_init_device which enables removing two #ifdef SIMULATOR and makes it happen as on target. 2010-05-18 12:27:20 +00:00
lcd-bitmap.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
lcd-charcells.c Rename sdl lcd initialization to (remote_)lcd_init_device which enables removing two #ifdef SIMULATOR and makes it happen as on target. 2010-05-18 12:27:20 +00:00
lcd-charcells.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
lcd-remote-bitmap.c Rename sdl lcd initialization to (remote_)lcd_init_device which enables removing two #ifdef SIMULATOR and makes it happen as on target. 2010-05-18 12:27:20 +00:00
lcd-remote-bitmap.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
lcd-sdl.c Touchscreen: Improved scroll threshold 2010-11-10 15:25:15 +00:00
lcd-sdl.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
pcm-sdl.c sim: add spdif_measure_frequency() stub for HAVE_SPDIF_IN 2010-07-04 13:50:16 +00:00
sim-ui-defines.h HDD6330: add the simulator. 2010-10-21 22:20:16 +00:00
system-sdl.c SDL enhancements: 2010-07-10 02:46:08 +00:00
system-sdl.h SDL enhancements: 2010-07-10 02:46:08 +00:00
system-target.h Don't duplicate byteswap code. Invent system where NEED_GENERIC_BYTESWAPS is set if the generic functions from system.h are needed. 2010-07-15 22:01:06 +00:00
thread-sdl.c Switch iPod 3G to use EABI toolchain. Make necessary threading changes to avoid use of stack after switching to idle stack. 2010-06-17 20:15:58 +00:00
thread-sdl.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
timer-sdl.c - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00