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

SDK • Re: How can I compile TinyUSB in my project?

$
0
0
I think you'd better do a search for:

"usb hid keyboard events"
"usb hid mouse events"

and read about that. The USB devices are responsible for sending certain formatted USB data packets / reports, PC side does some other things. For caps lock, num lock state, see for example:

HOWTO: Toggle the NUM LOCK, CAPS LOCK, and SCROLL LOCK Keys
https://support.microsoft.com/en-gb/top ... 312c93d2d7

VM hosts like VirtualBox change the lock states when the VM guest window gets into focus or out of focus -- all done using events or messages. In any case you can always check the VirtualBox source code to see how they do it.

Statistics: Posted by katak255 — Mon Feb 16, 2026 9:13 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles