Remap bluetooth keyboard keys?
I have a nice BT keyboard, everything works perfectly. I would like to remap the caps lock key to be another control key, as I use the control key often and the caps lock basically never.
On Android, this is the kcm and kl files. I see these directories on my phone, but they don't really seem to apply under Touch (it appears a generic HID interface is used instead?).
On X this would be the xmodmap command, but this isn't X, it's Mir, I think.
And if it was the console it'd be loadkeys. But this is Bluetooth, not console.
So has anybody discovered where Touch keeps its keyboard mapping files? TIA.
advocatux last edited by
@vandys, maybe you can try something like this
Some more discoveries...
A look at the keyboard options leads me to some setxkbmap files in /usr/share/X11/xkb. However, setxkbmap itself doesn't work (no X display). Yay.
There's an /etc/default/keyboard file, but putting ctrl:swapcaps in XKBOPTIONS has no effect. Yay again.
I guess next I'll try morphing one of the keyboard configs and see if it'll pull in my changes through the screen menu.
advocatux last edited by advocatux
@vandys, you can try to play with
showkeysin the terminal.
I don't know for the graphic session though. Maybe there's some template somewhere but I didn't investigate it yet.