summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_host.c
AgeCommit message (Collapse)Author
2023-11-24minor updatehathach
2023-11-24add tuh_hid_set_default_protocol() to set default USB host HID protocolXudong Zheng
2023-08-15more minor clean uphathach
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-02default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to ↵hathach
selectively disable usbd/usbh or driver log
2023-05-16EHCI: fix xfer failed with disconnected device as stalledhathach
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if not defined - change QHD_MAX for EHCI, should be user configurable and more optimized in the future
2023-05-16correct EHCI reporting failed xfer (instead of stalled) when device is unpluggedhathach
2023-04-06implement tuh_hid_receive_ready() and tuh_hid_send_ready()hathach
2023-03-24separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN tohathach
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN - CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN - fix missing mem section and align for host
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-21relax hid host enumeration, allow set protocol to be stalledhathach
2023-03-13Updated host hid_controller example to demo tuh_hid_send_reportJames Smith
2023-03-13Implemented tuh_hid_send_reportJames Smith
2022-12-20fix hid host incorrect edpt release if failed to transmithathach
add CDC_CONTROL_LINE_STATE_DTR/RTS, TUSB_INDEX_INVALID enum
2022-12-16minor renamehathach
2022-06-27fix all warnings with host rp2040hathach
2022-04-01hid example work wellhathach
2022-03-19rename usbh_edpt_open() to tuh_edpt_open()hathach
2022-03-19add parse config descriptor to examplehathach
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-18implement tuh_edpt_xfer() for non-controlhathach
2022-03-18move daddr into xfer structhathach
2022-03-17rename user_arg to user_datahathach
2022-03-17rename tuh_control_xfer_t to tuh_xfer_thathach
2022-03-17slightly change the signature of tuh_control_xferhathach
2022-03-17change return type of callback to voidhathach
2022-03-17remove const in xfer callbackhathach
2022-03-17move result into transfer structhathach
2022-03-17change tuh_control_xfer_t structhathach
2022-03-16update hid host to use new control xfer for set confighathach
2022-03-13add synchronous (blocking) support for usbh control transferhathach
- add synchronous version of all get descriptor API - update bare example to use sync API for string descriptor - change order of index, language_id in tuh_descriptor_get_string() to match similar API of libusb - add index to tuh_descriptor_get_hid_report()
2022-03-11update hid,msc to new usbh control APIhathach
2022-03-09rename host descriptor functionhathach
2022-03-09add tuh_descriptor_hid_report_get()hathach
2022-02-28Merge pull request #1343 from Daft-Freak/patch-1Ha Thach
Open OUT endpoint for HID host
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2022-02-23Open OUT endpoint for HID hostCharlie Birks
2021-10-24remove ep descriptor wMaxPacketSize bitfield due to endian issuehathach
2021-10-04Handle HID devices with OUT endpoint listed firstCharlie Birks
This happens on my PowerA wired Switch pro controller
2021-08-24add tuh_vid_pid_get()hathach
complete Sony PS4 dualshock controller example
2021-08-24exclude dev0 from usbh devices poolhathach
2021-08-23sepearate CFG_TUH_DEVICE_MAX and CFG_TUH_HUBhathach
separate dev0 from _usbh_devices pool to save sram
2021-08-23rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAXhathach
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-29clean uphathach
2021-06-28fix SET_PROTOCOl, update hid host behavior for default boot interfacehathach
2021-06-28force boot protocol for keyboard/mousehathach
2021-06-28change usbh open driver to have max_len and return driver lenhathach
2021-06-28Merge pull request #891 from hathach/host-rp2040-double-bufferHa Thach
RP2040 double buffer