Files
android_hardware_oplus/aidl/touch/touch-headers/OplusTouchConstants.h
DtHnAme 00f0edf25e power: Implement DT2W through OplusTouch
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
2025-07-06 14:51:26 +01:00

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