What I want to do: Get the USB HID IDs when I press the keys of my truly ergonomic keyboard to be able to reprogram the firmware of the keyboard.
I know there is this list from microsoft with a lot of USB HID IDs.
But it would be easier to find the ID of a key by just typing it and seeing it displayed in a program. Especially for some media keys, which I don’t find in that list from microsoft.
Does such a program exist? Could be a command line program. Linux preferred, but Windows would be an option.
PS: I have seen, that this question on stackoverflow has an interesting answer. But I can’t find /dev/usb/hiddev0
on my system (Fedora 17).
Update
In this question the answer from @Andy Ross helped me to at least get some output, when pressing a key. I did
xxd -c 144 /dev/input/by-path/pci-0000:00:1a.0-usb-0:1.1:1.0-event-kbd
But it is still not really readable. And not always the same, when I press the same key.
Update2
In this question a python script is linked, that reads the input device and should print it. But on this computer at work I have no rights to access the device with this python script.