Recommended · for some experience
How does a USB keyboard work?
Why people recommend it
Ben Eater captures a USB keyboard's signals on an oscilloscope and works through the protocol manually, recommended to anyone trying to understand USB at wire level.
Watch for: one of a run of USB keyboard videos
In their words
Here is a wonderful video by Ben Eater about the USB Keyboards where he goes deep into monitoring the signals and the protocol, can be a good start for your project:
Sohail on arduino.stackexchange.com, Nov 2021. CC BY-SA.
You may want to take a look at this video.
Edgar Bonet on arduino.stackexchange.com, Jul 2023. CC BY-SA.