diff options
Diffstat (limited to 'nuttx/include/nuttx/input/ajoystick.h')
-rw-r--r-- | nuttx/include/nuttx/input/ajoystick.h | 1 |
1 files changed, 1 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 */ }; |