summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2010-10-17 12:43:24 +0000
committerSzymon Dziok <b0hoon@o2.pl>2010-10-17 12:43:24 +0000
commit5e2b5bbcfca488f395ddf315c1fd89353e59b671 (patch)
tree5f0a9ea5b4a392db01c9b2f739d41463f9351208 /firmware
parent7a153d2594902b926a0cd6f0af913f94d922a131 (diff)
downloadrockbox-5e2b5bbcfca488f395ddf315c1fd89353e59b671.tar.gz
rockbox-5e2b5bbcfca488f395ddf315c1fd89353e59b671.tar.bz2
rockbox-5e2b5bbcfca488f395ddf315c1fd89353e59b671.zip
HDD6330: Configure touchpad (maximum touch sensivity, reduce transmission
overhead). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28300 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/philips/power-hdd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/philips/power-hdd.c b/firmware/target/arm/philips/power-hdd.c
index c348567529..4806276270 100644
--- a/firmware/target/arm/philips/power-hdd.c
+++ b/firmware/target/arm/philips/power-hdd.c
@@ -69,6 +69,16 @@ void power_init(void)
{
logf("touchpad not ready");
}
+#if defined(PHILIPS_HDD6330)
+ /* set the maximum touch sensivity */
+ touchpad_set_parameter(0,0x20,0x7785);
+ /* reduce transmission overhead */
+ touchpad_set_parameter(0,0x21,0x0008);
+ /* set GPO_LEVELS = 0 - for the buttonlights */
+ touchpad_set_parameter(0,0x23,0x0000);
+ touchpad_set_parameter(1,0x22,0x0000);
+#endif
+
#endif
}