Commit Graph

80 Commits

Author SHA1 Message Date
hathach
e163f85ee0 clean up, rename some HID device symbol/API
- add tud_hid_n_interface_protocol()
- rename tud_hid_n_boot_mode() to  tud_hid_n_get_protocol()
- rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb()
- add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1
- rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid
confusion
2021-05-18 12:32:20 +07:00
graham sanderson
e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00
hathach
e029d6d726 added host set_config driver
to resolve control conflict with SET_CONFIGURE for class driver
- open will be called to open endpoint only
- set_config called later to initialized class driver
2020-11-01 17:46:46 +07:00
hathach
66a10ec9c8 rework usbh control transfer
use series of complete callback instead of blocking semaphore, which is
more noOS friendly. still working with hid host
2020-09-07 15:19:20 +07:00
hathach
b3e81673c0 change xfer_cb return type from void to bool 2020-09-06 12:11:07 +07:00
hathach
15ad585e67 replacing hcd_pipe_xfer by usbh_edpt_xfer 2020-09-06 11:49:00 +07:00
hathach
9531e47d10 update example to test with mouse 2020-09-05 14:59:07 +07:00
hathach
f7cf8cdf27 defer xfer_isr to xfer_cb 2020-09-05 14:41:31 +07:00
hathach
a8e538efe7 clean up 2020-09-04 01:35:32 +07:00
hathach
35aee4a6af more hid host work 2020-09-03 23:57:51 +07:00
hathach
ef651e0734 fix #449 remove obsolete pipehandle from hid host 2020-09-03 17:07:29 +07:00
hathach
58cedf4c06 usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
Nathan Conrad
25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach
61ec407752 update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
6135019230 clean up 2019-05-14 11:46:22 +07:00
hathach
da452d4ba6 cleanup, remove the use of _TINY_USB_SOURCE_FILE_ 2019-03-27 17:48:42 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
a6b9432600 clean up error enum 2018-12-13 14:57:21 +07:00
hathach
67d6d753d6 replace all hcd pipe close by hcd_device_remove 2018-12-12 00:00:33 +07:00
hathach
dbc560658a more hcd_pipe to hcd_edpt rename 2018-12-11 13:15:05 +07:00
hathach
0d04e6eb96 rename to hcd_edpt_open() 2018-12-11 13:12:21 +07:00
hathach
607658d047 rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED 2018-12-07 23:38:52 +07:00
hathach
366ab79776 able to build host hid 2018-12-07 14:57:58 +07:00
hathach
cb8782e5f2 rename tusb_event_t to xfer_result_t 2018-11-23 15:14:47 +07:00
hathach
60d8cde695 rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION 2018-11-22 17:21:07 +07:00
hathach
c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00
hathach
e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach
4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach
1efb552bfd add ep2drv, rename descriptor offset 2018-07-13 17:48:26 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00