Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,543 Members 37,178 Now Online
XDA Developers Android and Mobile Development Forum

[TWEAK] [MOD] [CM9/CM10/CM11 Only] Touchscreen Sensitive Tweak

Tip us?
 
Rhievaldo
Old
(Last edited by Rhievaldo; 27th March 2014 at 06:06 AM.)
#1  
Rhievaldo's Avatar
Recognized Contributor - OP
Thanks Meter 1766
Posts: 798
Join Date: Jun 2013
Location: Gresik
Default [TWEAK] [MOD] [CM9/CM10/CM11 Only] Touchscreen Sensitive Tweak

Code:
#include 
/*
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 */

first you must know other way to tweak touchscreen

> touch.pressure.scale = 0.001 > system/build.prop
better is tweak module directly than make new line in build.prop

> mxt224_ts_input.idc > system/usr/idc/
for touchscreen module in CM9/CM10/CM11 we have sec_touchscreen.idc, and mxt224_ts_input.idc is same with that. but yeah you must know different devices is different module name.. ex : on p500 is touch_mcs6000.idc


I will provide you best way to tweak Touchscreen Sensitive on CM9/CM10/CM11

Below is Stock CyanogenMod 9/10/11 Touchscreen Module
blue text is line will tweaked

Code:
# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1

# Touch Size
touch.touchSize.calibration = pressure

# Tool Size
# Driver reports tool size as an area measurement.
#
# Based on empirical measurements, we estimate the size of the tool
# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0.
touch.toolSize.calibration = area
touch.toolSize.areaScale = 22
touch.toolSize.areaBias = 0
touch.toolSize.linearScale = 9.2
touch.toolSize.linearBias = 0
touch.toolSize.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 100 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.source = default
touch.pressure.scale = 0.01 #all device not same value

# Size
touch.size.calibration = normalized

# Orientation
touch.orientation.calibration = none
And below is Touchscreen Module already tweaked by me

Code:
# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1

# Touch Size
touch.touchSize.calibration = pressure

# Tool Size
# Driver reports tool size as an area measurement.
#
# Based on empirical measurements, we estimate the size of the tool
# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0.
touch.toolSize.calibration = area
touch.toolSize.areaScale = 22
touch.toolSize.areaBias = 0
touch.toolSize.linearScale = 9.2
touch.toolSize.linearBias = 0
touch.toolSize.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 100 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.source = default
touch.pressure.scale = 0.001

# Size
touch.size.calibration = normalized

# Orientation
touch.orientation.calibration = none

I made a flashable zip for that..

this zip will delete
> touch.pressure.scale = 0.001 from build.prop
> mxt224_ts_input.idc from usr/idc

but also will backup your original to sdcard/Reincarnation_Engine

How to install :

Download zip from attachement
Reboot to recovery
install zip from sd card
done


If you found some problem with touchscreen
Letís write all the mistakes down in the sand
And let the wind of forgiveness erase it away
Happy Idul Fitri, Minal Aidin wal Faidzin


 


 
My Facebook : Go Here | RR Team FB Group : Go Here | RR Team Blog : Go Here

The Following 2 Users Say Thank You to Rhievaldo For This Useful Post: [ Click to Expand ]
 
motoguser
Old
#2  
Member
Thanks Meter 3
Posts: 36
Join Date: Feb 2014
First Gonna try this
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes