hidl: Setup touchscreen gestures with Lineage touch HIDL HAL

This takes advantage of the touchscreen gesture nodes exposed by Oplus
touchscreen drivers.

Change-Id: I5a43b8f922a8d1c940e367d22d377b7161913d3a
This commit is contained in:
LuK1337
2021-09-16 18:33:12 +02:00
parent 745a264171
commit ce722bdb50
8 changed files with 288 additions and 0 deletions

19
hidl/touch/Android.bp Normal file
View File

@@ -0,0 +1,19 @@
cc_binary {
name: "vendor.lineage.touch@1.0-service.oplus",
defaults: ["hidl_defaults"],
init_rc: ["vendor.lineage.touch@1.0-service.oplus.rc"],
vintf_fragments: ["vendor.lineage.touch@1.0-service.oplus.xml"],
vendor: true,
relative_install_path: "hw",
srcs: [
"TouchscreenGesture.cpp",
"service.cpp",
],
shared_libs: [
"libbase",
"libhidlbase",
"libutils",
"vendor.lineage.touch@1.0",
],
local_include_dirs: ["include"],
}