mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
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>
20 lines
957 B
Plaintext
20 lines
957 B
Plaintext
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 |