diff --git a/touch/TouchscreenGesture.cpp b/touch/TouchscreenGesture.cpp index 4c20b05..a6cf21b 100644 --- a/touch/TouchscreenGesture.cpp +++ b/touch/TouchscreenGesture.cpp @@ -40,6 +40,7 @@ const std::map TouchscreenGesture::kGe {10, {250, "Letter O", "/proc/touchpanel/letter_o_enable"}}, {11, {248, "Letter S", "/proc/touchpanel/letter_s_enable"}}, {12, {246, "Letter W", "/proc/touchpanel/letter_w_enable"}}, + {13, {67, "Single Tap", "/proc/touchpanel/single_tap_enable"}}, }; Return TouchscreenGesture::getSupportedGestures(getSupportedGestures_cb resultCb) { diff --git a/touch/lineage.touch@1.0-service.oneplus_sdm845.rc b/touch/lineage.touch@1.0-service.oneplus_sdm845.rc index 51eec72..cbaaf32 100644 --- a/touch/lineage.touch@1.0-service.oneplus_sdm845.rc +++ b/touch/lineage.touch@1.0-service.oneplus_sdm845.rc @@ -12,6 +12,7 @@ on boot 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 @@ -25,6 +26,7 @@ on boot 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