HID input driver¶
Sample config.json:
"input":
[{
"driver":"hid",
"kwargs":
{
"name":"HID 04d9:1603"
}
}]
To get device names, you can just run python input/driver/hid.py
while your device is connected. It will output available device names.
-
class
input.drivers.hid.
InputDevice
(path=None, name=None, **kwargs)[source]¶ A driver for HID devices. As for now, supports keyboards and numpads.