mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
vermeer: Commonized xiaomi.sensors.v2
Change-Id: I6d47307b52ebdc6270163a61db9a4bb7baed7818 Signed-off-by: lolipuru <banstellazz@gmail.com> Signed-off-by: WenHao2130 <wenhao2130@outlook.com>
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
on boot
|
||||
chown system system /sys/class/touch/touch_dev/fod_longpress_gesture_enabled
|
||||
chmod 0660 /sys/class/touch/touch_dev/fod_longpress_gesture_enabled
|
||||
|
||||
chown system system /sys/class/touch/touch_dev/gesture_single_tap_enabled
|
||||
chmod 0660 /sys/class/touch/touch_dev/gesture_single_tap_enabled
|
||||
|
||||
chown system system /sys/class/touch/touch_dev/gesture_double_tap_enabled
|
||||
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