CZ Eddie
Registered
If you are an Android user running AOSP ROM's (cyanogenmod, etc) and on a phone that supports high-sensitivity mode for use with Motorcycle Gloves, then you've been going nuts because your Leather gloves can't control the screen!!!
Well, now they can. Just add these two scripts and use Tasker or something else to enable/disable them when riding your bike.
Thanks go to Adam77Root for creating the scripts, chenxiaolong for creating the commit, and broodplank1337 for giving me the idea to have scripts created.
Well, now they can. Just add these two scripts and use Tasker or something else to enable/disable them when riding your bike.
These two are based on the linked commit:
To enable:
Code:#!/system/bin/sh echo "glove_mode,1" > /sys/class/sec/tsp/cmd
To disable:
Code:#!/system/bin/sh echo "glove_mode,0" > /sys/class/sec/tsp/cmd
Paste these codes into two files (enable.sh, disable.sh), give them execute permission and set 'run as root' option in Tasker.
Thanks go to Adam77Root for creating the scripts, chenxiaolong for creating the commit, and broodplank1337 for giving me the idea to have scripts created.