1

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?

Community
  • 1
  • 1
Synthead
  • 2,162
  • 5
  • 22
  • 25

0 Answers0