Commit Graph

653 Commits

Author SHA1 Message Date
hathach faa31152b4 rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifo 2021-05-26 20:34:06 +07:00
Ha Thach 4e2684f23a
Merge pull request #825 from ogatatsu/hid_desc
fix hid report descriptor
2021-05-26 20:33:45 +07:00
hathach f9c542aa52
fix dfu example build 2021-05-26 18:16:56 +07:00
Jeremiah McCarthy ce59d69520 Merge remote-tracking branch 'official/master' 2021-05-25 09:27:35 -04:00
hathach 3654d96e07 only invoke tuh_msc_umount_cb() if needed 2021-05-23 14:11:12 +07:00
hathach 8cffe4897e change hid device internal boot_mode to protocol_mode 2021-05-23 13:56:32 +07:00
hathach a1dab1611b get protocol when enum with hid boot interface 2021-05-22 23:30:41 +07:00
hathach f13a3c04f7 fix missing report in tuh_hid_set_report() 2021-05-22 22:43:55 +07:00
hathach a2c4a48dd6 add tuh_hid_report_sent_cb() 2021-05-22 22:03:21 +07:00
hathach b8e019da32 rename tuh_hid_get_report_cb to tuh_hid_report_received_cb() 2021-05-22 21:51:30 +07:00
hathach df65c35b31 implement hid host set report with control transfer
rename mount, umount callback
2021-05-22 21:48:42 +07:00
hathach 63c57ed1a4 clean p 2021-05-22 20:55:42 +07:00
hathach ad845db6a5 improve hid parser 2021-05-22 20:54:59 +07:00
hathach 350dfb2ea3 more hid api rename 2021-05-22 18:17:32 +07:00
hathach 89dad1ad41 update app 2021-05-22 16:48:07 +07:00
hathach 99add05aa7 simplify hid api
add hid set_protocol() and set_protocol_complete_cb()
2021-05-22 16:27:28 +07:00
hathach 2df5a5367f update hid host get/set protocol to match device 2021-05-18 13:12:33 +07:00
hathach 40cd3a7e20 Merge branch 'master' into host-hid 2021-05-18 13:08:30 +07:00
hathach ffdcf9a0d0 move report_info to application
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18 12:58:24 +07:00
hathach da6a7fb2bb update hid report descriptor macro 2021-05-18 12:58:24 +07:00
hathach 5b2d117bcd fix compile 2021-05-18 12:58:24 +07:00
hathach 93661042d9 more API update
- remove tuh_n_hid_n_get_report()
- usbh auto queue get report and invoke callback when received data
2021-05-18 12:58:24 +07:00
hathach dfa8b41b96 adding hid parser 2021-05-18 12:58:24 +07:00
hathach 9ddc3bfd6d more host hid API
adding hid parser
2021-05-18 12:58:24 +07:00
hathach 641f55f1f1 remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSE 2021-05-18 12:58:24 +07:00
hathach cc1b83412a continue with hid host rework 2021-05-18 12:58:24 +07:00
hathach 9324fd8f2e more hid host API rework 2021-05-18 12:58:24 +07:00
hathach 7305fec4db change hid device report len from uint8 to uint16 2021-05-18 12:58:24 +07:00
hathach b7a8b278c8 rename tuh_device_is_configured() to tuh_device_configured()
- remove tuh_device_get_state()
- more hid mouse clean up
2021-05-18 12:58:24 +07:00
hathach 69defb5edc rename and moving 2021-05-18 12:58:24 +07:00
hathach a5cd81a226 correct hid host mount/unmount callback
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18 12:58:24 +07:00
hathach be165a6713 reworking host hid API 2021-05-18 12:58:24 +07:00
hathach 510beef9f8 make tuh_msc_mount_cb() tuh_msc_unmount_cb() as weak callback 2021-05-18 12:58:24 +07:00
hathach e83bdcdfdc reworking hid host 2021-05-18 12:58:24 +07:00
hathach 68fa17e17c more API rename 2021-05-18 12:58:24 +07:00
hathach f1148ca5ac reworking hid host 2021-05-18 12:58:24 +07:00
hathach 98f5082191 rename var to be consistent 2021-05-18 12:58:24 +07:00
hathach a26752a93e fix build error 2021-05-18 12:45:59 +07:00
hathach 7e9e682e09 update to use HID spec protocol value for get/set_protocol() 2021-05-18 12:38:11 +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
Jerzy Kasenberg 74ca1894de audio_device: Fix build error
ep_in_as_intf_num was incorrectly used to access out interface
which is defined for 'in' interface.
Code related to 'out' endpoint should use ep_out_as_intf_num instead.
2021-05-10 15:58:04 +02:00
ogatatsu 5d69b2ac4d fix hid report descriptor 2021-05-10 17:19:44 +09:00
Jeremiah McCarthy 05892a5a1e Merge branch 'master' of github.com:xmos-jmccarthy/tinyusb 2021-05-06 12:18:55 -04:00
Jeremiah McCarthy dab1ed6b32 Add example to be tested
Update API description.
2021-05-05 17:42:38 -04:00
Ha Thach 42a1d2f3b9
Merge pull request #804 from hathach/audio_make_dma_ready
Implement functions to allow for DMA usage in audio driver.
2021-05-02 15:29:38 +07:00
Reinhard Panhuber 5add664874 Remove n from tu_fifo_get_write_info() and fix bug in vendor class 2021-04-30 17:37:14 +02:00
Reinhard Panhuber 6acfa14fec Fix bug in cdc_peek 2021-04-30 17:23:34 +02:00
Reinhard Panhuber 54f332fae0 Fix cdc peeks() 2021-04-30 15:42:27 +02:00
Reinhard Panhuber 14e2c004cd Remove variable n in tu_fifo_get_read_info() 2021-04-30 15:08:14 +02:00
Reinhard Panhuber de933c45bc Remove all remainings with peek_at 2021-04-30 14:56:14 +02:00