diff options
| author | hathach <[email protected]> | 2013-09-20 16:20:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-20 16:20:28 +0700 |
| commit | 52ae0afeb6dc781b82e6e71b864a02184eaf62bf (patch) | |
| tree | a656445a06f5274625145359396824eccf2a461d /tinyusb/class/hid.h | |
| parent | d8907c9a2bec155858ae4e5c04dfac60e339418d (diff) | |
refine hid host driver
Diffstat (limited to 'tinyusb/class/hid.h')
| -rw-r--r-- | tinyusb/class/hid.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tinyusb/class/hid.h b/tinyusb/class/hid.h index 06374e035..e68d1596f 100644 --- a/tinyusb/class/hid.h +++ b/tinyusb/class/hid.h @@ -104,8 +104,9 @@ typedef ATTR_PREPACKED struct ATTR_PACKED { typedef ATTR_PACKED_STRUCT(struct) { uint8_t buttons; /**< buttons mask for currently pressed buttons in the mouse. */ - int8_t x; /**< Current delta x movement of the mouse. */ - int8_t y; /**< Current delta y movement on the mouse. */ + int8_t x; /**< Current delta x movement of the mouse. */ + int8_t y; /**< Current delta y movement on the mouse. */ + int8_t wheel; /**< Current delta wheel movement on the mouse. */ } tusb_mouse_report_t; /** |
