Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cst816s-gesture-codes.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Felipe Neves.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INPUT_CST816S_GESTURE_CODES_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_INPUT_CST816S_GESTURE_CODES_H_
8
9#define CST816S_GESTURE_CODE_NONE 0x00
10#define CST816S_GESTURE_CODE_SWIPE_UP 0x01
11#define CST816S_GESTURE_CODE_SWIPE_DOWN 0x02
12#define CST816S_GESTURE_CODE_SWIPE_LEFT 0x03
13#define CST816S_GESTURE_CODE_SWIPE_RIGHT 0x04
14#define CST816S_GESTURE_CODE_SINGLE_CLICK 0x05
15#define CST816S_GESTURE_CODE_DOUBLE_CLICK 0x0B
16#define CST816S_GESTURE_CODE_LONG_PRESS 0x0C
17
18#endif