Commit Graph

15 Commits

Author SHA1 Message Date
hathach
9697c4df4e update all examples to use unique ID as serial if avaialble 2023-08-04 10:28:24 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
b9dc9dbd78 fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach
f81368174b add other speed descriptor callback tud_descriptor_other_speed_configuration_cb()
example implement tud_descriptor_device_qualifier_cb() and
tud_descriptor_other_speed_configuration_cb() on high speed device to
fully compliant to usbcv
2021-09-09 15:17:19 +07:00
hathach
5f6418ccd7 add hid_boot_interface example 2021-08-17 13:21:24 +07:00
hathach
e163f85ee0 clean up, rename some HID device symbol/API
- 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-18 12:32:20 +07:00
hathach
2934712e43 fix ci 2021-02-24 15:02:28 +07:00
hathach
a070626729 add itf argument to hid API to support multiple instances
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-24 14:27:20 +07:00
hathach
9c3a44b6a3 update hid_composite_freertos example 2021-02-09 16:06:38 +07:00
hathach
bc80d686f5 clean up 2021-02-08 16:05:28 +07:00
hathach
3d95835f22 add consumer control to hid_composite examples
both no OS and freeRTOS
2021-02-01 14:47:39 +07:00
hathach
787c891702 add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00
hathach
5ca748a68e rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
hathach
7a24a27d81 update freerots hid composite
clean up unused descriptor for usbtmc example
2020-04-20 16:20:18 +07:00
hathach
ccfc058646 add hid_composite_freertos example 2020-04-07 16:19:47 +07:00