HDD6330: Configure touchpad (maximum touch sensivity, reduce transmission

overhead).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28300 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Szymon Dziok 2010-10-17 12:43:24 +00:00
parent 7a153d2594
commit 5e2b5bbcfc

View file

@ -69,6 +69,16 @@ void power_init(void)
{ {
logf("touchpad not ready"); 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 #endif
} }