From d67a7b7959342e93c6ae63d5dac5149dec76d0e6 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 30 Oct 2013 12:20:00 +0700 Subject: 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 --- tinyusb/class/hid_device.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tinyusb/class/hid_device.h') 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); /** @} */ /** @} */ -- cgit v1.3.1