From 1a55d184cb4029146f20f4f832b5e90552b398ee Mon Sep 17 00:00:00 2001 From: weizhifang Date: Mon, 18 Nov 2024 10:42:30 +0800 Subject: [PATCH] touchscreen: add single click definition --- include/nuttx/input/touchscreen.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/nuttx/input/touchscreen.h b/include/nuttx/input/touchscreen.h index a06043b96cf..cdb4d966269 100644 --- a/include/nuttx/input/touchscreen.h +++ b/include/nuttx/input/touchscreen.h @@ -143,12 +143,13 @@ /* These are definitions for touch gesture */ -#define TOUCH_DOUBLE_CLICK (0x00) -#define TOUCH_SLIDE_UP (0x01) -#define TOUCH_SLIDE_DOWN (0x02) -#define TOUCH_SLIDE_LEFT (0x03) -#define TOUCH_SLIDE_RIGHT (0x04) -#define TOUCH_PALM (0x05) +#define TOUCH_SINGLE_CLICK (0x00) +#define TOUCH_DOUBLE_CLICK (0x01) +#define TOUCH_SLIDE_UP (0x02) +#define TOUCH_SLIDE_DOWN (0x03) +#define TOUCH_SLIDE_LEFT (0x04) +#define TOUCH_SLIDE_RIGHT (0x05) +#define TOUCH_PALM (0x06) /* Help function */