I have two keyboards in my system, the integrated keyboard in my Thinkpad laptop, and an external Logitech keyboard accesed via a Logitech Unifying Receiver. The keyboard is not detected properly. Here is the keyboard info:
N: Name="Logitech ERGO K860"
H: Handlers=sysrq kbd mouse3 event8 leds
B: EV=12001f
The script fails because it is only looking for "EV=120013"
I believe it should be updated to look for both EV values.
Additionally, the comment in the config file before the [Device] section should ideally be updated to indicate that only the first keyboard matched and found from that section will actually be used.