sm7125-common: Add TouchscreenGesture support

Change-Id: I392676d2943adea269f176f11a6ecf86f2a45548
tirimbino
Simon1511 2 years ago committed by Ruchit Marathe
parent 96f1dceb8f
commit a6a6e87523
  1. 3
      BoardConfigCommon.mk
  2. 38
      include/samsung_gestures.h

@ -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

@ -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<int32_t, TouchscreenGesture::GestureInfo> 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
Loading…
Cancel
Save