summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-10-31 11:11:46 +0000
committerThomas Martitz <kugel@rockbox.org>2010-10-31 11:11:46 +0000
commitb673ae2c46129d6994b61a351a1567c56f4aef82 (patch)
tree4253dd1daa90384e3f87443f497453c265cbbb0f /firmware
parenteaff333bf526225cfca84cd686fe5332b852e506 (diff)
downloadrockbox-b673ae2c46129d6994b61a351a1567c56f4aef82.tar.gz
rockbox-b673ae2c46129d6994b61a351a1567c56f4aef82.zip
FS#11686 - Kinetic list scrolling for touchscreen
This adds kinetic scrolling to to lists on touchscreen targets and RaaA, like all other OSes on touchscreens have. It's only enabled in the absolute point mode, so for non-touchscreen and in grid mode nothing changes. Kinetic scrolling means that the list keeps scrolling (but is decelerating) after you leave the touchscreen with the finger. Redraw interval and deceleration is hardcoded for now but could be made configurable if desired. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28408 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 8892600ece..d005aae976 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -901,6 +901,12 @@ Lyre prototype 1 */
901#endif 901#endif
902#endif /* HAVE_HEADPHONE_DETECTION */ 902#endif /* HAVE_HEADPHONE_DETECTION */
903 903
904#ifdef HAVE_TOUCHSCREEN
905/* Timeout objects required for kinetic list scrolling */
906#undef INCLUDE_TIMEOUT_API
907#define INCLUDE_TIMEOUT_API
908#endif /* HAVE_TOUCHSCREEN */
909
904#if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK) 910#if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK)
905/* USB charging support in the USB stack requires timeout objects */ 911/* USB charging support in the USB stack requires timeout objects */
906#ifndef INCLUDE_TIMEOUT_API 912#ifndef INCLUDE_TIMEOUT_API