mirror of
https://github.com/oplus-giulia-dev/android_hardware_oplus
synced 2025-11-04 05:45:34 +08:00
Co-authored-by: Maitreya25 <maitreyapatni25@gmail.com> Co-authored-by: Mashopy <eliasgheeraert@gmail.com> Co-authored-by: Bruno Martins <bgcngm@gmail.com> Change-Id: I5ad57428aeefe68c8a188aa1e445f4091cbc0d8a
23 lines
472 B
C++
23 lines
472 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2025 The LineageOS Project
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace OplusTouchConstants {
|
|
|
|
// Device IDs
|
|
constexpr int DEFAULT_TP_IC_ID = 0;
|
|
constexpr int SUB_DISPLAY_TP_IC_ID = 1;
|
|
|
|
// Features
|
|
constexpr int DOUBLE_TAP_GESTURE = 1 << 1;
|
|
|
|
// Node IDs
|
|
constexpr int DOUBLE_TAP_ENABLE_NODE = 1;
|
|
constexpr int DOUBLE_TAP_INDEP_NODE = 21;
|
|
constexpr int GAME_SWITCH_ENABLE_NODE = 26;
|
|
|
|
} // namespace OplusTouchConstants
|