Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4085

SDK • Re: TinyUSB 0.16.0

$
0
0
Thanks - that worked.
Comparing source, looks like 0.16.0 is a massive change and unfortunately it has, for me, a show stopper bug

Scenario 1:
Plug in a keyboard, tuh_hid_interface_protocol returns the correct value - 1
Unplug keyboard and then plug in a mouse, tuh_hid_interface_protocol returns the correct value - 2
Unplug mouse and then plug in a gamepad, tuh_hid_interface_protocol returns the value for a mouse - 2 SHOULD BE 0

Scenario 2:
Plug in a gamepad, tuh_hid_interface_protocol returns the correct value - 0
Unplug keyboard and then plug in a mouse, tuh_hid_interface_protocol returns the correct value - 21
Unplug mouse and then plug in a gamepad, tuh_hid_interface_protocol returns the value for a mouse - 2 SHOULD BE 0

Same effect if keyboard before gamepad

This all works on 0.15.0

Tried a bunch of __dmb() and __dsb() but no change

Statistics: Posted by matherp — Thu Feb 01, 2024 10:02 am



Viewing all articles
Browse latest Browse all 4085

Trending Articles