python-evdev
python-evdev copied to clipboard
Handling unknown keys
I'm using a controller with plenty of unknown keys, so added in this code to handle the unknown key codes by adding the entry to the keys dictionary, with the name being the hex code for the key.