summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_device.h
AgeCommit message (Collapse)Author
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
2019-05-01rename hid report_buf to epin_bufhathach
add epout_buf and use it for SET_REPORT request buffer
2019-05-01clean uphathach
2019-05-01simplify hid keyboard & mouse report to one API eachhathach
2019-05-01add tud_hid_set_idle_cbhathach
- rename tud_hid_mode_changed_cb to tud_hid_mode_changed_cb - add mouse ac pan descriptor template support
2019-04-28add TUD_ to HID_REPORT_DESC_* templatehathach
2019-04-25remove CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUPhathach
2019-04-19move interface descriptor template to usbd.h, update exmaplehathach
2019-04-18wrap up hid device refactorhathach
2019-04-18update tud_hid_keyboard/mouse helperhathach
2019-04-18add tud_hid_mode_changed_cb()hathach
2019-04-18hid updatehathach
2019-04-18refactor hid, rename hid_generic to simply hid_hathach
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-17add dcd_get_microframe()hathach
2018-12-12change usbd xfer_cb return type to boolhathach
2018-12-12change class driver open return type to boolhathach
2018-12-12rename edpt_dir/number/addr to tu_edpt_*hathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-22rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTIONhathach
2018-11-16nrf5x: refactor device control transfer.hathach
- make control transfer as part of usbd. Class driver must use usbd_control_ API() instead of dcd_ api. - change the signature of class driver's control_request - allow control request complete to stall in staus stage - move control request parser & handling to usbd.
2018-11-08Polish up control split and treat it more like a normal endpoint.Scott Shawcroft
2018-11-07Split out the control endpoint logicScott Shawcroft