summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_device.h
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-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()
2021-11-29correct 32 button in gamepad hid descriptor templatehathach
2021-08-31fix HID_LOGICAL_MAX overflow.MasterPhi
2021-08-26slightly change the keyboard descriptor template to pass usb compliant testhathach
2021-06-09miss a helperhathach
2021-06-09update gamepad helperhathach
2021-06-09re-adding ifdef removed accidentallyMarcelo Bezerra
2021-06-09Pull request changesMarcelo Bezerra
Remove configuration options and just bump number of buttons to 32 Fix button numbereing and comments in
2021-06-09clean upMarcelo Bezerra
2021-06-09Add optional support for 32 gamepad buttonsMarcelo Bezerra
2021-05-27include clean uphathach
2021-05-26Merge pull request #825 from ogatatsu/hid_descHa Thach
fix hid report descriptor
2021-05-18update hid host get/set protocol to match devicehathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18fix compilehathach
2021-05-18change hid device report len from uint8 to uint16hathach
2021-05-18more API renamehathach
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-05-10fix hid report descriptorogatatsu
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.
2021-02-08enhance gampepad report with dpad/hat supporthathach
add hid_gamepad_report_t along with GAMEPAD_BUTTON_ and GAMEPAD_HAT_ enum
2021-01-07change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64hathach
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-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-13correct the TUD_HID_REPORT_DESC_GAMEPADhathach
2020-07-17add new name warning to cdc and midi (skip msc, hid warning for now)hathach
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-05-28update hid open()hathach
2020-04-20add extra comma to HID_REPORT_IDhathach
this make the template with Report ID look less weird to the user
2020-01-15Normalize line endingsNathan Conrad
2019-07-19more house keepinghathach
2019-07-12clean up, rename internal driver control_request_complete to simply ↵hathach
control_complete
2019-06-06add HID_ASCII_TO_KEYCODEhathach
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-14update license year to 2019hathach
2019-05-12change tud_descriptor_string_cb() to be consistent with other descriptor ↵hathach
callback
2019-05-12add tud_hid_descriptor_report_cb()hathach
- remove tud_desc_set.hid_report - remove tud_desc_set_t
2019-05-02support hid generic inout #58hathach
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT - add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN - add hid_generic_inout example
2019-05-02use tud_hid_set_report_cb for hid epouthathach
2019-05-02add tud_hid_out_report_cb() for hid epouthathach