I'm trying to transform a Minitel to a computer with a Raspberry Pi.
This is a minitel:
So I soldered the matrix of the minitel keyboard to a usb keyboard pcb, like this:
Everything is working ok, I recieve some keys from my custom keyboard. I just need to remap the keys appropriately.
So I'm trying to create a program that will ask me to press
a and trap the corresponding keycode, and then with all keys of my custom keyboard, to finaly produce a xmodmap file.
The only problem I have is that I can't figure out on how can I get that keycode (and only that!). I tried
xev but there's too much data displayed to filter it out.
I know I could track all the keycodes by hand, but I'll transform 10 Minitels, so I would prefer a quicker way!