python-evdev
python-evdev copied to clipboard
cannot convert keycodes to character sequences
Hello,
I've started working on a project that reads from a remote control and sends the input to another child process. I could try to find out the key mapping by trial and error, but I hoped I could find something ready to do this.
Unfortunately evdev doesn't seem to help much with it, only shows keycodes e.g. KEY_UP = 103, that can only be redirected system wide (using UInput.write()), but does not map to convert the keycode to the corresponding ascii character sequence ("\027[A") or allow to redirect the input to a user process
Do you know a way to see this mapping?
Regards, Mauro
That mapping is going to depend per-keyboard.