20 Commits

Author SHA1 Message Date
hathach
76dae8d8c1 update host example to use new tuh mem macros 2023-03-24 14:08:57 +07:00
hathach
a97f39151e fine tune CFG_TUH_HID value 2023-03-22 08:33:30 +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
bdfcd50b1b
Merge branch 'master' into portability 2023-03-17 23:53:38 +07:00
hathach
3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
317177c83d
update host example, add pio-pico-usb for rp2040 2023-03-17 14:06:25 +07:00
James Smith
9247131b1f Avoid spamming out endpoint on connect 2023-03-13 16:31:25 +07:00
James Smith
43770802f9 Removed tabs from host hid_controller example 2023-03-13 16:31:25 +07:00
James Smith
296ce528fc Updated host hid_controller example to demo tuh_hid_send_report 2023-03-13 16:31:25 +07:00
hathach
21d552bbdf
allow all host examples to use pico-pio-usb for rp2040 2022-11-23 12:30:10 +07:00
hathach
460bef9dbb
host msc example work well with rp2040 pio-usb 2022-11-21 15:49:38 +07:00
Ben Avison
65ba15c37d Remove unreachable code
IAR generates warning Pe111 'statement is unreachable'. In a couple of
cases, replace return statements with TU_ATTR_FALLTHROUGH; because some
compilers apparently can't figure out that the return statements are
unreachable but do whinge about an imagined fall-through without them!
2022-09-13 18:00:50 +01:00
hathach
7c8278303b update all host examples 2022-06-06 23:16:49 +07:00
kkitayam
24614de419 Fix build errors 2021-11-29 00:45:57 +09:00
David Shadoff
185bb21bdd Add PS4-compatible controllers 2021-09-07 21:13:34 -04:00
Christian Arlt
cc08bb6f99 Added Arc System Works GG Xrd Limited Edition controller VID PID 2021-09-06 19:41:09 +02:00
Christian Arlt
a0646f20ba Added Hori Fighting Commander 4 VID PID 2021-09-06 19:40:14 +02:00
Christian Arlt
c53ce53058 Added Sony DualShock4 CUH-ZCT1E pid 2021-09-06 19:38:31 +02:00
hathach
3debeb637a
test hid controller with rp2040 2021-08-24 21:34:51 +07:00
hathach
3c0c051df1
add tuh_vid_pid_get()
complete Sony PS4 dualshock controller example
2021-08-24 19:10:23 +07:00