diff options
| author | hathach <[email protected]> | 2013-10-30 12:20:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-10-30 12:20:00 +0700 |
| commit | d67a7b7959342e93c6ae63d5dac5149dec76d0e6 (patch) | |
| tree | 2c98b03f52b1b0654d758201958f3af30fa3c84f /tinyusb/class/hid_device.h | |
| parent | d9ce879df84f6098e431736a297d4239d6f8eb2a (diff) | |
fix dcd_data declared with TUSB_CFG_ATTR_USBRAM
fix lpc43xx UM: non-control unused endpoint type should be set to different than control in ENDPTCTRL
add hid mouse device
fix mouse descriptor with vertical wheel support
Diffstat (limited to 'tinyusb/class/hid_device.h')
| -rw-r--r-- | tinyusb/class/hid_device.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tinyusb/class/hid_device.h b/tinyusb/class/hid_device.h index 9cf65af58..c3b0f041a 100644 --- a/tinyusb/class/hid_device.h +++ b/tinyusb/class/hid_device.h @@ -100,7 +100,9 @@ void tusbd_hid_keyboard_isr(uint8_t coreid, tusb_event_t event); /** \defgroup Mouse_Device Device * @{ */ -tusb_error_t tusbd_hid_mouse_send(uint8_t coreid, hid_mouse_report_t const *p_mouse_report); +bool tusbd_hid_mouse_is_busy(uint8_t coreid); + +tusb_error_t tusbd_hid_mouse_send(uint8_t coreid, hid_mouse_report_t const *p_report); /** @} */ /** @} */ |
