android_device_oneplus_dre/touch/lineage.touch@1.0-service.oneplus_sdm845.rc
Anirudh Gupta 833cc7522e sdm845-common: touch: Add single tap to touch screen gestures
Change-Id: I6546ccbaab4e17b25ae57c7f768ec072a5f143f8
2020-02-18 12:54:56 +01:00

34 lines
1.6 KiB
Text

on boot
chmod 0660 /proc/touchpanel/double_swipe_enable
chmod 0660 /proc/touchpanel/down_arrow_enable
chmod 0660 /proc/touchpanel/down_swipe_enable
chmod 0660 /proc/touchpanel/left_arrow_enable
chmod 0660 /proc/touchpanel/left_swipe_enable
chmod 0660 /proc/touchpanel/letter_m_enable
chmod 0660 /proc/touchpanel/letter_o_enable
chmod 0660 /proc/touchpanel/letter_s_enable
chmod 0660 /proc/touchpanel/letter_w_enable
chmod 0660 /proc/touchpanel/right_arrow_enable
chmod 0660 /proc/touchpanel/right_swipe_enable
chmod 0660 /proc/touchpanel/up_arrow_enable
chmod 0660 /proc/touchpanel/up_swipe_enable
chmod 0660 /proc/touchpanel/single_tap_enable
chown system system /proc/touchpanel/double_swipe_enable
chown system system /proc/touchpanel/down_arrow_enable
chown system system /proc/touchpanel/down_swipe_enable
chown system system /proc/touchpanel/left_arrow_enable
chown system system /proc/touchpanel/left_swipe_enable
chown system system /proc/touchpanel/letter_m_enable
chown system system /proc/touchpanel/letter_o_enable
chown system system /proc/touchpanel/letter_s_enable
chown system system /proc/touchpanel/letter_w_enable
chown system system /proc/touchpanel/right_arrow_enable
chown system system /proc/touchpanel/right_swipe_enable
chown system system /proc/touchpanel/up_arrow_enable
chown system system /proc/touchpanel/up_swipe_enable
chown system system /proc/touchpanel/single_tap_enable
service touch-hal-1-0 /system/bin/hw/lineage.touch@1.0-service.oneplus_sdm845
class hal
user system
group system