CyanogenMod 9 Alpha0.6 Touchscreen Patch & install guide Updated v15 CM9 HPTouchpad
-TouchPad Touchscreen Driver Development Updated 2012-02-28
-Update! Tracking IDs v15 for CM9 2012-02-28:
-Download version Tracking IDs v15 instead of v4: Same instructions apply.
Tracking IDs v15 for CM9 2012-02-28:
Bugfixes for hover debounce. The v14 version works fine, but the code wasn't working the way that I intended. This version provides the correct behavior.
Tracking IDs v14 for CM9 2012-02-27:
Changed hover debounce - it now doesn't start the hover debounce unless you hover for 30 cycles (about 0.3 seconds) which should smooth out slow scrolling a little bit. I also moved the power management of the digitizer into ts_srv and out of liblights. Liblights should just be for the screen / notification lights. The CM team originally located the digitizer power management in there in lieu of setting up communications between liblights and ts_srv. We're now able to use the same socket communications to determine when to turn the digitizer on/off as well as open & close the uart.
Tracking IDs v13 for CM9 2012-02-25:
-Added a filter to debounce a "hover" after scrolling. If you scroll a little ways then hold your finger still, it will debounce to 2 pixels. This may make scrolling really slowly a little bit jumpy, but it will keep the screen from wiggling around if you hold your finger still after scrolling.
-This version also includes a newer version of ts_srv_set that can return the touchscreen mode that is currently in use. This will be needed for the new custom settings for the TouchPad that include the ability to change touchscreen modes.
v12 2012-02-16:
No changes to the way touch behaves. Updated the path for the socket to use what I believe it he proper location for a Unix socket. This also marks the unification of the finger and stylus versions of the driver and you can now choose which mode of operation you want on the fly. There is an additional binary included in this zip called ts_srv_set. Run it via adb or terminal emulator like so:
ts_srv_set S
The above command would set the touchscreen thresholds for stylus operation. Doing this:
ts_srv_set F
will set it back to finger mode. The setting will stick between reboots (yes, we're using a settings file of sorts -- a very basic one) but the setting will be wiped in a factory reset. The default setting is finger mode, so if you are a finger user, there is nothing that you need to do. This version also includes the power savings features from v11, of course. Settings for finger then stylus mode are unchanged, but as follows:
TOUCH_INITIAL_THRESHOLD 32 32
TOUCH_CONTINUE_THRESHOLD 26 16
TOUCH_DELAY_THRESHOLD 28 24
TOUCH_DELAY 5 2
If someone with some app development skills (someone who knows Java) wants to write an app or modify CM to change the setting in a GUI, I'll be happy to provide information on how to do so. Otherwise, you can set up something like GScript to make it easier to switch between modes.
v11 2012-02-15:
-No changes to the way that touch itself behaves.
-added code to both liblights and the touchscreen driver so that liblights can tell the touchscreen driver when the screen turns off.
-The touchscreen driver will now close the uart connection that it uses to receive touchscreen data to save a little bit of battery power.
v10 2012-02-13 Release notes:
-Some improvements in CPU utilization due to no longer needing to copy values from array to array.
-increased some thresholds to help prevent the double-click issue.
-Touch delay threshold is 28, touch delay count is 5 cycles, large area unpress at 22 and touch continue threshold at 26.
-This should bring this version more in line with the thresholds that we were using in v5.
v9 2012-02-09 Release notes:
-Increased threshold for continuing an existing touch back to 20 to prevent some of the issues that users were reporting when lifting a finger off of the screen.
-Some changes that slightly reduce CPU utilization and other changes to help pass the CM review process.
-The changes in v8 to help support stylus use somewhat hurt regular finger use and probably didn't help stylus use. I've decided not to work on stylus compatibility again until my stylus arrives.
v8
Version 8 Release notes:
-Changes to the large area filter code to scan diagonal points.
- Reduced the threshold for continuing an existing touch to 16 to maybe help out stylus users.
v7
-Removed improve pinch distances that ended up causing problems.
- Large area filtering is more accurate and tracks a better line when swiping
-Some thresholds were tweaked slightly to work with these new changes.
The Source and Download:
http://rootzwiki.com/topic/16547-touchpad-android-touchscreen-driver-development-updated-2012-02-06/
My Custom Boot Animation:
http://www.youtube.com/watch?v=nFeLYjJfH3c
Boot Animation instructions and Info:
http://www.youtube.com/watch?v=ICLBJ3gQ9rg