I want to debug my keyboard and figure out what would happen after I press a key.
Is there any debug tools or solutions to track the keyboard events or handlers?
I searched the Internet and only found one useful answer (Debug/fix a key autorepeat issue?)
For example, I press a Volume control key, how does it trigger an event and control the driver to turn up/down?
And how do I track the control flow of it?
I'm using arch Linux on my laptop, so any solution for Linux is welcome.