mercredi 26 mars 2014

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





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









Aucun commentaire:

Enregistrer un commentaire