summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_device.c
AgeCommit message (Collapse)Author
2022-07-17temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for ↵hathach
up coming release
2022-06-27Merge branch 'master' into add-more-warningshathach
2022-06-27change report len in hid API from uint8_t to uint16_thathach
since HS interrupt endpoint can be up to 1024, 8-bit is not enough. affected APIs are: - tud_hid_n_report() / tud_hid_report() - tud_hid_report_complete_cb()
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2021-10-15fix -Wcast-qualhathach
2021-09-13Enforced buffer boundaries for hid devicesszymonh
2021-08-17fix keyboard report reserved is always 0hathach
2021-07-01clean uphathach
2021-07-01better support for hid device set/get protocolhathach
add caplock detection for hid_composite
2021-06-09update gamepad helperhathach
2021-06-02clean up loghathach
2021-05-27include clean uphathach
2021-05-23change hid device internal boot_mode to protocol_modehathach
2021-05-18fix build errorhathach
2021-05-18update to use HID spec protocol value for get/set_protocol()hathach
2021-05-18clean up, rename some HID device symbol/APIhathach
- 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-02-24add itf argument to hid API to support multiple instanceshathach
following API signature is changed: - tud_hid_descriptor_report_cb() - tud_hid_get_report_cb() - tud_hid_set_report_cb() - tud_hid_boot_mode_cb() - tud_hid_set_idle_cb()
2021-02-09tud_hid_report_complete_cb() APIhathach
update hid composite to make use of tud_hid_report_complete_cb() for sending reports when possible.
2021-02-08add tud_hid_n_gamepad_report() helper for gamepad reporthathach
- Add gamepad to hid_composite example. Though it needs a bit of extra work but it will come later as separated PR.
2020-11-19migrate hid device to new control xfer cbhathach
2020-10-09update tud_hid_boot_mode_cb/tud_hid_set_idle_cb support mul interfaceshathach
also clean up code
2020-10-09rename multiple hid callbackhathach
2020-10-08Fix tu_verify argsZachery Littell
2020-10-08Cleanup per review on PRZachery Littell
2020-10-07fix variable names. add itf n callbacks to multihidZachery Littell
2020-10-02fix simple pull request comments. Implement descriptor index hack.Zachery Littell
2020-10-01add index to report descriptor callback. this is breaking and needs to be ↵Zachery Littell
reviewed
2020-10-01create N functions and inlines for multi hid interfacesZachery Littell
2020-09-10update claim edpt for hid and midihathach
2020-07-16rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZEhathach
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-06-17Fix IAR warnings.Mengsk
Pa039 : use of address of unaligned structure member. Pe188: enumerated type mixed with another type.
2020-05-28check max_len for vendor and hidhathach
2020-05-28initial transfer failed in open() shouldn't cause the driver open to fail.hathach
2020-05-28update hid open()hathach
2020-04-15test ok with cdc and mschathach
2020-04-15tested with hidhathach
2019-12-28implement multiple interfaces supportPeter Lawrence
2019-11-27fix #229hathach
2019-11-01Merge branch 'ZLP_Request2' into pigrew-ZLP_Request2hathach
2019-11-01implement pigrew reviewhathach
2019-10-31update doc, hid set reporthathach
2019-10-02Merge branch 'master' into ZLP_Request2Nathan Conrad
2019-10-012nd attempt to fix #161hathach
2019-09-27Merge branch 'master' into ZLP_Request2Nathan Conrad
2019-09-20Revert "Revert "Also need to just return false in the case that it isn't an ↵Nathan Conrad
interface control event. We shouldn't assert. This normally isn't an"" This reverts commit 2281a514846402af68aa4c97fcd206611c0969a1.
2019-09-20Revert "Also need to just return false in the case that it isn't an ↵Nathan Conrad
interface control event. We shouldn't assert. This normally isn't an" This reverts commit f241ff389f9494836cdc45e621726c0b69b8daed.
2019-09-20Also need to just return false in the case that it isn't an interface ↵Nathan Conrad
control event. We shouldn't assert. This normally isn't an error, either, so I don't want to use TU_VERIFY.
2019-09-20Use cached HID descriptor.Nathan Conrad