msm8998-common: Switch to Touch AIDL

Change-Id: I86844e8f2579e966fb617b279be7485ef685e884
This commit is contained in:
hoaysly
2025-07-13 23:57:23 +00:00
committed by Georg Veichtlbauer
parent 14da28a668
commit 39e441937b
2 changed files with 5 additions and 6 deletions

View File

@@ -5,6 +5,8 @@ init_daemon_domain(hal_touch_oneplus_msm8998)
hal_server_domain(hal_touch_oneplus_msm8998, hal_lineage_touch)
binder_call(hal_touch_oneplus_msm8998, servicemanager)
# Allow access to gesture enable nodes
allow hal_touch_oneplus_msm8998 proc_touchpanel:dir search;
allow hal_touch_oneplus_msm8998 proc_touchpanel:file rw_file_perms;

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C) 2021 The LineageOS Project
*
* SPDX-FileCopyrightText: 2025 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
@@ -9,11 +8,10 @@
#include <map>
namespace aidl {
namespace vendor {
namespace lineage {
namespace touch {
namespace V1_0 {
namespace implementation {
const std::map<int32_t, TouchscreenGesture::GestureInfo> kGestureInfoMap = {
{0, {251, "Two fingers down swipe", "/proc/touchpanel/double_swipe_enable"}},
@@ -31,10 +29,9 @@ const std::map<int32_t, TouchscreenGesture::GestureInfo> kGestureInfoMap = {
{12, {246, "Letter W", "/proc/touchpanel/letter_w_enable"}},
};
} // namespace implementation
} // namespace V1_0
} // namespace touch
} // namespace lineage
} // namespace vendor
} // namespace aidl
#endif // TOUCH_ONEPLUS_TOUCHSCREENGESTURE_H