eqs: sensors: Implement double tap sensor

Change-Id: I6c217c994d6e4d5ae062a31a44fffc9f097a7f6f
This commit is contained in:
Cosmin Tanislav
2022-09-21 10:09:08 +05:30
parent 304ab206ae
commit f934f86c8f
4 changed files with 25 additions and 1 deletions

View File

@@ -42,6 +42,11 @@ on early-boot
chmod 0664 /sys/class/power_supply/battery/device/force_charging_enable
chown vendor_tcmd system /sys/class/power_supply/battery/device/force_charging_enable
on post-fs
# Sensors
chown system system /sys/devices/platform/soc/990000.i2c/i2c-0/0-005d/touchscreen/primary/double_tap_enabled
chown system system /sys/devices/platform/soc/990000.i2c/i2c-0/0-005d/touchscreen/primary/double_tap_pressed
on post-fs-data
# Param updater data for various modules
mkdir /data/vendor/param 0775 system system