summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_host.h
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2026-05-04add default implementation for tuh_hid_report_received_cb()hathach
2026-03-17CFG_TUH_HID_SET_PROTOCOL_ON_ENUM option to skip set_protocol on enum, ↵hathach
default is 1
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-04-10Adding tuh_hid_get_report(...) to hid_host.hLuke A
This allows USB host functionality to call HID_REQ_CONTROL_GET_REPORT on the IN Endpoint, and read the report buffer in the callback.
2024-03-22implement tuh_init()hathach
change usbh driver init() return type from void to bool
2024-03-22adding deinit() stub for usbh/hcd class driverhathach
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-01add tuh_hid_receive_abort() APIhathach
2023-11-24minor updatehathach
2023-11-24add tuh_hid_set_default_protocol() to set default USB host HID protocolXudong Zheng
2023-04-06implement tuh_hid_receive_ready() and tuh_hid_send_ready()hathach
2023-03-22add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new ↵hathach
tuh_itf_info_t
2023-03-21change meaning of CFG_TUH_HID to total number of HID interfaces supported.hathach
- previously CFG_TUH_HID is max number of interfaces per device which is rather limited and consume more resources than needed. - change hid host instance in API to index
2023-03-13Updated host hid_controller example to demo tuh_hid_send_reportJames Smith
2023-03-13Implemented tuh_hid_send_reportJames Smith
2022-12-04Fix typosBastien Nocera
2021-08-23add tuh_hid_receive_report() for applicaiton to explicitly request reporthathach
2021-08-20change host driver open return type to boolhathach
the descriptor len used by driver will be calculated by usbh
2021-08-20hid host skip get report descriptor if too large instead of asserthathach
2021-06-28update func commenthathach
2021-06-28force boot protocol for keyboard/mousehathach
2021-06-28change usbh open driver to have max_len and return driver lenhathach
2021-05-27more include clean uphathach
2021-05-22add tuh_hid_report_sent_cb()hathach
2021-05-22rename tuh_hid_get_report_cb to tuh_hid_report_received_cb()hathach
2021-05-22implement hid host set report with control transferhathach
rename mount, umount callback
2021-05-22clean phathach
2021-05-22improve hid parserhathach
2021-05-22more hid api renamehathach
2021-05-22update apphathach
2021-05-22simplify hid apihathach
add hid set_protocol() and set_protocol_complete_cb()
2021-05-18update hid host get/set protocol to match devicehathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18move report_info to applicationhathach
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18more API updatehathach
- remove tuh_n_hid_n_get_report() - usbh auto queue get report and invoke callback when received data
2021-05-18more host hid APIhathach
adding hid parser
2021-05-18continue with hid host reworkhathach
2021-05-18more hid host API reworkhathach
2021-05-18rename tuh_device_is_configured() to tuh_device_configured()hathach
- remove tuh_device_get_state() - more hid mouse clean up
2021-05-18correct hid host mount/unmount callbackhathach
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18reworking host hid APIhathach
2021-05-18reworking hid hosthathach
2021-05-18more API renamehathach
2021-05-18reworking hid hosthathach
2021-05-18rename var to be consistenthathach
2020-11-01added host set_config driverhathach
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-09-06change xfer_cb return type from void to boolhathach
2020-09-05defer xfer_isr to xfer_cbhathach