Does loadkeys itself not effect X applications then?
- Neelix
I think it does, that is, it should be the basis from which xkb/xmodmap starts.
It used to, but my understanding is that hasn't been done (at least by default) since Xorg and xkb came along. Back in the gaudy olden days of XFree86 it was even documented that X tries to build a map based on the kernel map and I remember that was the behaviour some years ago.
But the Pandora X config sets X to read
evdev inputs anyway, I suspect those, at the latest, disable any smartstuff X might want to attempt - it has no i/o ties to the VT in that sense anymore? So I assume the Pyra will also do the same eventually...
As a practical test: I leave X, load keymap, start X --> nope, no changes in map.
I do not do extra xmodmapping that would affect, but of course my xorg.conf might explicitly override stuff.
As it is, to my best understanding: Loadkeys is for ("text mode") VT, xkb/xmodmap handle X.
That's also why I wondered how much use VT even gets. I'm pretty sure many people are just happy to not ever see the VT, but on the other hand at least personally I need support for it, because I have (practically) full device encryption and I need to input the passwords for /usr & co before processes start running all over the places...
I must admit: After thinking this through,
I'm not so sure I'd take this monstermappingroute for myself... in purely emulation terms having more actual scancodes makes things easier - if porting is affected too much, would I bother porting? Depends...
I would not modify the original twl and/or gpio drivers, though... simply to avoid touching stuff existing in mainline kernel made by others when avoidable. An extra Pyra specific module perhaps? I don't know.
But no matter: I still intend to see how this current approach pans out on the Pandora.
Unfortunately I did not have time yesturday and I'm unlikely to have any today either...