diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 40e9890..793e42c 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -19,6 +19,9 @@ COMMON_PATH := device/samsung/sm7125-common BUILD_BROKEN_DUP_RULES := true BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true +# Include path +TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include + # APEX image DEXPREOPT_GENERATE_APEX_IMAGE := true diff --git a/include/samsung_gestures.h b/include/samsung_gestures.h new file mode 100644 index 0000000..03260a0 --- /dev/null +++ b/include/samsung_gestures.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2022 The LineageOS Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +#include "samsung_touch.h" +#include "TouchscreenGesture.h" + +namespace vendor { +namespace lineage { +namespace touch { +namespace V1_0 { +namespace samsung { + +const std::map TouchscreenGesture::kGestureInfoMap = { + // clang-format off + {0, {0x1c7, "Single Tap", TSP_CMD_NODE, "singletap_enable,"}}, + // clang-format on +}; + +} // namespace samsung +} // namespace V1_0 +} // namespace touch +} // namespace lineage +} // namespace vendor