Detecting a USB keyboard with pyudev?

326 views Asked by At

I've been picking through this question to try to detect a hotplug of a USB keyboard, but ID_INPUT_KEYBOARD isn't a key in the udev Device object that represents my keyboard.

How can I use pyudev to detect whether or not the hotplugged device is a keyboard?

0

There are 0 answers