mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-21 02:29:34 +00:00
vermeer: [HACK]: manually enable node for all *_gesture_enabled
nonui doesn't work properly on fuxi, doing this at least getting all gestures to works Change-Id: I08e030cab9a0aeb58642f687f9efe28bedd616e6 Signed-off-by: lolipuru <banstellazz@gmail.com> Signed-off-by: SkyMinus <minus_rav@qq.com> Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>
This commit is contained in:
@@ -9,3 +9,12 @@ on boot
|
||||
chmod 0660 /sys/class/touch/touch_dev/gesture_double_tap_enabled
|
||||
chown system system /sys/class/touch/touch_dev/gesture_double_tap_state
|
||||
chmod 0664 /sys/class/touch/touch_dev/gesture_double_tap_state
|
||||
|
||||
on property:ro.vendor.sensors.xiaomi.single_tap=true
|
||||
write /sys/class/touch/touch_dev/gesture_single_tap_enabled 1
|
||||
|
||||
on property:ro.vendor.sensors.xiaomi.double_tap=true
|
||||
write /sys/class/touch/touch_dev/gesture_double_tap_enabled 1
|
||||
|
||||
on property:ro.vendor.sensors.xiaomi.udfps=true
|
||||
write /sys/class/touch/touch_dev/fod_longpress_gesture_enabled 1
|
||||
Reference in New Issue
Block a user