summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/input/touchscreen.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/include/nuttx/input/touchscreen.h b/nuttx/include/nuttx/input/touchscreen.h
index 861680e59..de888e38d 100644
--- a/nuttx/include/nuttx/input/touchscreen.h
+++ b/nuttx/include/nuttx/input/touchscreen.h
@@ -68,7 +68,7 @@
* reported in the struct touch_point_s flags.
*/
-#define TOUCH_DOWN (1 << 0) /* A new touch contact is establed */
+#define TOUCH_DOWN (1 << 0) /* A new touch contact is established */
#define TOUCH_MOVE (1 << 1) /* Movement occurred with previously reported contact */
#define TOUCH_UP (1 << 2) /* The touch contact was lost */
#define TOUCH_ID_VALID (1 << 3) /* Touch ID is uncertain */
@@ -86,13 +86,13 @@
struct touch_point_s
{
- uint8_t id; /* Unique identifies contact; Same in all reports for the contact */
- uint8_t flags; /* See TOUCH_* definitions above */
- int16_t x; /* X coordinate of the touch point (uncalibrated) */
- int16_t y; /* Y coordinate of the touch point (uncalibrated) */
- int16_t h; /* Height of touch point (uncalibrated) */
- int16_t w; /* Width of touch point (uncalibrated) */
- uint16_t pressure; /* Touch pressure */
+ uint8_t id; /* Unique identifies contact; Same in all reports for the contact */
+ uint8_t flags; /* See TOUCH_* definitions above */
+ int16_t x; /* X coordinate of the touch point (uncalibrated) */
+ int16_t y; /* Y coordinate of the touch point (uncalibrated) */
+ int16_t h; /* Height of touch point (uncalibrated) */
+ int16_t w; /* Width of touch point (uncalibrated) */
+ uint16_t pressure; /* Touch pressure */
};
/* The typical touchscreen driver is a read-only, input character device driver.