summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-08-23 19:56:17 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-08-23 19:56:17 +0000
commit8d5f159687b6abf3b5ad6b1681701a1b80423d92 (patch)
tree7d81f979b3eb106defe50036e1915b5649fdcb0c /firmware/export
parent1994df6844d9b478f2199d63e70e88996e3b4096 (diff)
downloadrockbox-8d5f159687b6abf3b5ad6b1681701a1b80423d92.tar.gz
rockbox-8d5f159687b6abf3b5ad6b1681701a1b80423d92.zip
Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/ipodmini1g.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h
index 121a7fc801..85e4597b9f 100644
--- a/firmware/export/config/ipodmini1g.h
+++ b/firmware/export/config/ipodmini1g.h
@@ -79,6 +79,12 @@
#define CONFIG_KEYPAD IPOD_4G_PAD
#define HAVE_SCROLLWHEEL
+/* define to activate advanced wheel acceleration code */
+#define HAVE_WHEEL_ACCELERATION
+/* define from which rotation speed [degree/sec] on the acceleration starts */
+#define WHEEL_ACCEL_START 360
+/* define type of acceleration (1 = ^2, 2 = ^3, 3 = ^4) */
+#define WHEEL_ACCELERATION 1
/* Define this to enable morse code input */
#define HAVE_MORSE_INPUT