Commit Graph

45 Commits

Author SHA1 Message Date
Bastien Nocera 6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
hathach 800f85329e add tuh_hid_receive_report() for applicaiton to explicitly request report 2021-08-23 11:00:21 +07:00
hathach 22a5b1608c change host driver open return type to bool
the descriptor len used by driver will be calculated by usbh
2021-08-20 19:31:38 +07:00
hathach 62f2efbe8c hid host skip get report descriptor if too large instead of assert 2021-08-20 18:26:56 +07:00
hathach 58d3e8c08b update func comment 2021-06-28 17:39:57 +07:00
hathach c99b70c08c force boot protocol for keyboard/mouse 2021-06-28 17:39:57 +07:00
hathach 5811122cfd change usbh open driver to have max_len and return driver len 2021-06-28 17:39:57 +07:00
hathach 9ad6fadf6a
more include clean up 2021-05-27 18:34:07 +07:00
hathach a2c4a48dd6 add tuh_hid_report_sent_cb() 2021-05-22 22:03:21 +07:00
hathach b8e019da32 rename tuh_hid_get_report_cb to tuh_hid_report_received_cb() 2021-05-22 21:51:30 +07:00
hathach df65c35b31 implement hid host set report with control transfer
rename mount, umount callback
2021-05-22 21:48:42 +07:00
hathach 63c57ed1a4 clean p 2021-05-22 20:55:42 +07:00
hathach ad845db6a5 improve hid parser 2021-05-22 20:54:59 +07:00
hathach 350dfb2ea3 more hid api rename 2021-05-22 18:17:32 +07:00
hathach 89dad1ad41 update app 2021-05-22 16:48:07 +07:00
hathach 99add05aa7 simplify hid api
add hid set_protocol() and set_protocol_complete_cb()
2021-05-22 16:27:28 +07:00
hathach 2df5a5367f update hid host get/set protocol to match device 2021-05-18 13:12:33 +07:00
hathach 40cd3a7e20 Merge branch 'master' into host-hid 2021-05-18 13:08:30 +07:00
hathach ffdcf9a0d0 move report_info to application
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18 12:58:24 +07:00
hathach 93661042d9 more API update
- remove tuh_n_hid_n_get_report()
- usbh auto queue get report and invoke callback when received data
2021-05-18 12:58:24 +07:00
hathach 9ddc3bfd6d more host hid API
adding hid parser
2021-05-18 12:58:24 +07:00
hathach cc1b83412a continue with hid host rework 2021-05-18 12:58:24 +07:00
hathach 9324fd8f2e more hid host API rework 2021-05-18 12:58:24 +07:00
hathach b7a8b278c8 rename tuh_device_is_configured() to tuh_device_configured()
- remove tuh_device_get_state()
- more hid mouse clean up
2021-05-18 12:58:24 +07:00
hathach a5cd81a226 correct hid host mount/unmount callback
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18 12:58:24 +07:00
hathach be165a6713 reworking host hid API 2021-05-18 12:58:24 +07:00
hathach e83bdcdfdc reworking hid host 2021-05-18 12:58:24 +07:00
hathach 68fa17e17c more API rename 2021-05-18 12:58:24 +07:00
hathach f1148ca5ac reworking hid host 2021-05-18 12:58:24 +07:00
hathach 98f5082191 rename var to be consistent 2021-05-18 12:58:24 +07: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 b3e81673c0 change xfer_cb return type from void to bool 2020-09-06 12:11:07 +07:00
hathach f7cf8cdf27 defer xfer_isr to xfer_cb 2020-09-05 14:41:31 +07:00
hathach ef651e0734 fix #449 remove obsolete pipehandle from hid host 2020-09-03 17:07:29 +07:00
Nathan Conrad 25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach cb4e6837e9 clean up, rename internal driver control_request_complete to simply control_complete 2019-07-12 22:03:40 +07:00
hathach 61ec407752
update license year to 2019 2019-05-14 11:48:05 +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 a3713f801d clean up compiler attribute 2018-12-14 13:08:21 +07:00
hathach 366ab79776
able to build host hid 2018-12-07 14:57:58 +07:00
hathach a619ff88a3
rename xfer complete enum 2018-11-23 15:17:43 +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 424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00