sdm845-common: touch: Add single tap to touch screen gestures
Change-Id: I6546ccbaab4e17b25ae57c7f768ec072a5f143f8
This commit is contained in:
parent
263ce16c5f
commit
833cc7522e
2 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,7 @@ const std::map<int32_t, TouchscreenGesture::GestureInfo> 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<void> TouchscreenGesture::getSupportedGestures(getSupportedGestures_cb resultCb) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue