xen0n / android_device_meizu_arale

Device tree for Meizu MX4 (common part + Ubuntu Edition)
34 stars 28 forks source link

gestures control #18

Closed ktatar156 closed 1 year ago

ktatar156 commented 8 years ago

Hi, Iive read that you found how to control gestures (dt2w, s2w, etc.). How can I do that? My problem is that I've Ubuntu, but with some bits left from Android 5.1. And by default there is enabled DT2W and S2W (but Ubuntu hasn't any control for that). I've found file /sys/bus/i2c/drivers/mtk-tpd/2-0020/input/input1/gesture_test "gesture_value=0 gesture_mask=0 disable_all=0 gesture_only=0 gesture_control=3 tap(1),swipe(1),O(0),V(0),unicode(0) swipe_control=c :UP(1),DOWN(1),L(0),R(0) unicode_control=ff: C(1),E(1),W(1),M(1),S(1),Z(1)" and I need to change to "disable_all=1". How to control that device?

Almost full story here: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1592412 Maybe some short script/build.prop settings to control that?