Ha Thach
e9f9d43d67
Merge pull request #2723 from liamfraser/rp2040_tweaks
...
RP2040 tweaks
2024-07-19 21:33:50 +07:00
graham sanderson
31a979a6cc
fix some clang compiler warnings
2024-07-18 11:11:06 +01:00
hathach
0004faca83
minor update hid device
2024-07-17 19:29:21 +07:00
hathach
0ecf15bc61
follow up to #2253
...
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format
2024-07-17 14:35:23 +07:00
hathach
969b06d77c
minor update
2024-06-14 12:51:50 +07:00
John Toniutti
f09fa22bbc
Fix redefinition
2024-05-09 18:45:20 +02:00
John Toniutti
015b57b6ef
Add missing key codes
...
Source: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf from page 57 to page 59
2024-05-09 17:05:14 +02:00
HiFiPhile
70ae07b084
Merge pull request #2252 from rsolorzanomsft/hid-lighting
...
Add HID Lighting and Illumination functionality
2024-05-08 15:00:08 +02:00
HiFiPhile
24339dbcce
Code format.
2024-04-26 18:01:02 +02:00
HiFiPhile
268cc19f44
Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2253
2024-04-26 17:57:53 +02:00
HiFiPhile
4af67dd007
Simplify transfer failure cb.
2024-04-26 17:45:14 +02:00
HiFiPhile
1661acf82f
Add missing alignment.
2024-04-26 13:42:20 +02:00
HiFiPhile
7fb8d3341c
use separate buffer for ctrl transfer.
2024-04-26 13:40:13 +02:00
HiFiPhile
9ef3755f03
Merge branch 'master' of https://github.com/hathach/tinyusb into pr/2283
2024-04-26 13:12:56 +02:00
Luke A
804a73a454
Adding tuh_hid_get_report(...) to hid_host.h
...
This allows USB host functionality to call HID_REQ_CONTROL_GET_REPORT on the IN Endpoint, and read the report buffer in the callback.
2024-04-10 15:46:57 +07:00
Ha Thach
42decf28f1
Merge pull request #1835 from MasterQ32/otg_bringup
...
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +07:00
Ha Thach
d33fe38a62
Merge pull request #1363 from tobozo/master
...
HID Mouse with absolute positioning
2024-04-08 18:33:40 +07:00
hathach
2012a0d369
fix hid close not clear data
2024-03-31 15:48:26 +07:00
hathach
e84c9f3e22
implement tuh_init()
...
change usbh driver init() return type from void to bool
2024-03-22 16:12:57 +07:00
hathach
74bd264758
adding deinit() stub for usbh/hcd class driver
...
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-22 11:42:33 +07:00
hathach
4f5d80d397
add tuh_hid_receive_abort() API
2024-03-01 17:40:38 +07:00
hathach
4ed02ae5f9
reformat code hid_host.c
...
- fix ceedling with ruby 3.1
- allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line
2024-03-01 17:34:14 +07:00
IngHK
f600a8a0fc
fix tuh_hid_mounted() similar to #2437
2024-01-30 10:33:55 +01:00
hathach
f469250fa3
minor update
2023-11-24 18:35:00 +07:00
Xudong Zheng
2fed722b00
add tuh_hid_set_default_protocol() to set default USB host HID protocol
2023-11-24 18:27:03 +07:00
Shawn Hoffman
f88a5bb03b
hid_device: use separate buffer for SET_REPORT instead of epout
2023-10-17 19:26:11 -07:00
Rocky04
81e63ed6d8
Fixing warning
2023-09-13 22:03:44 +00:00
Rocky04
11fba84334
Error handling on transfer
2023-09-13 21:29:04 +00:00
Ryan Solorzano
a3d9eb43f1
Update Lighting Descriptor Template comment
2023-09-12 12:09:39 -07:00
Ryan Solorzano
3e8cf3ec8c
Add HID Lighting and Illumination functionality
2023-09-12 11:32:23 -07:00
hathach
1b33a31536
more minor clean up
...
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-15 22:54:07 +07:00
hathach
979bf32266
default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to selectively disable usbd/usbh or driver log
2023-08-02 15:34:18 +07:00
hathach
ef49b93532
rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack
...
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-24 15:46:21 +07:00
hathach
1c4f22a54c
EHCI: fix xfer failed with disconnected device as stalled
...
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if
not defined
- change QHD_MAX for EHCI, should be user configurable and more
optimized in the future
2023-05-16 11:09:22 +07:00
hathach
206d63e038
correct EHCI reporting failed xfer (instead of stalled) when device is unplugged
2023-05-16 11:09:21 +07:00
hathach
6db24e0dba
implement tuh_hid_receive_ready() and tuh_hid_send_ready()
2023-04-06 11:16:28 +07:00
tobozo
805ebb3924
remove trailing space (satisfy pre-commit flow)
2023-03-30 22:01:36 +02:00
tobozo
a77aaf7f9e
Added helpers for abs_mouse_report
2023-03-30 21:57:06 +02:00
tobozo
290f18a1fe
Merge branch 'hathach:master' into master
2023-03-30 19:30:24 +00:00
hathach
71fb6469d4
separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN to
...
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN
- CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN
- fix missing mem section and align for host
2023-03-24 14:05:21 +07:00
hathach
f27486e19a
add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t
2023-03-22 10:00:42 +07:00
hathach
d22fc550c7
change meaning of CFG_TUH_HID to total number of HID interfaces supported.
...
- previously CFG_TUH_HID is max number of interfaces per device which is
rather limited and consume more resources than needed.
- change hid host instance in API to index
2023-03-21 21:04:06 +07:00
hathach
878f2b54fe
relax hid host enumeration, allow set protocol to be stalled
2023-03-21 18:12:55 +07:00
hathach
3623ba1884
fix trailing space and new line
...
temporarily disable codespell
2023-03-17 16:12:49 +07:00
James Smith
296ce528fc
Updated host hid_controller example to demo tuh_hid_send_report
2023-03-13 16:31:25 +07:00
James Smith
f6774d5611
Implemented tuh_hid_send_report
2023-03-13 16:31:25 +07:00
Ha Thach
65ac519715
Merge pull request #1852 from silvergasp/mem_s
...
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27 10:22:53 +07:00
hathach
e34aeb5cf6
minor clean up
2023-02-27 09:11:35 +07:00
hathach
498989ee00
use tu_static instead of static _fuzz_thread
2023-02-22 16:23:40 +07:00