summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-29 15:28:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-29 15:28:28 -0600
commit833c0dc354e48f3c4de7aa938092e98f4ef8d980 (patch)
tree09b2c30509a33e91d72f2a99cd7a42a3e0193a5f /nuttx/include
parent8f2fbf8310bfdbcee6e705790f4e9b2aa0933af5 (diff)
downloadnuttx-833c0dc354e48f3c4de7aa938092e98f4ef8d980.tar.gz
nuttx-833c0dc354e48f3c4de7aa938092e98f4ef8d980.tar.bz2
nuttx-833c0dc354e48f3c4de7aa938092e98f4ef8d980.zip
Update comments
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/input/ajoystick.h1
-rw-r--r--nuttx/include/nuttx/input/mouse.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/input/ajoystick.h b/nuttx/include/nuttx/input/ajoystick.h
index af56b90e8..4df634863 100644
--- a/nuttx/include/nuttx/input/ajoystick.h
+++ b/nuttx/include/nuttx/input/ajoystick.h
@@ -199,6 +199,7 @@ struct ajoy_notify_s
struct ajoy_sample_s
{
ajoy_buttonset_t as_buttons; /* State of all buttons */
+ /* Possibly padded with 1 byte here */
int16_t as_x; /* X/horizontal position */
int16_t as_y; /* Y/vertical position */
};
diff --git a/nuttx/include/nuttx/input/mouse.h b/nuttx/include/nuttx/input/mouse.h
index f33672164..439dd4faf 100644
--- a/nuttx/include/nuttx/input/mouse.h
+++ b/nuttx/include/nuttx/input/mouse.h
@@ -74,6 +74,7 @@
struct mouse_report_s
{
uint8_t buttons; /* See TOUCH_* definitions above */
+ /* Possibly padded with 1 byte here */
int16_t x; /* X coordinate of the mouse position */
int16_t y; /* Y coordinate of the mouse position */
#ifdef CONFIG_MOUSE_WHEEL