Skip to content

Commit

Permalink
touchscreen: add single click definition
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhifang authored and txy-21 committed Jan 20, 2025
1 parent 07f2600 commit 1a55d18
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions include/nuttx/input/touchscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 1a55d18

Please sign in to comment.