-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regional Keyboards #5
Comments
These keymaps are also used by |
Okay, I've been noodling around with the cffi for a bit now but I'm getting "strange results" (ex: 16 is I've come to realize that it might be easier to load the keymaps into the kernel with
Each column represents one set of modifers, but I'm not sure how you're supposed to know which is which, it starts out looking like a bitfield but gets kinda wonky towards the end? |
from
and, from the same man, here's the modifier table:
The bit-indices are in
Here's updated code that loads a keymap by basename and can look up scancode + modifier-index pairs: keymap.tcl |
Currently all keyboards use the default US layout. I've tried installing
console-data
and while this installsloadkeys
which can be used to set the locale for the vt keyboard, it doesn't affect input in folk which currnetly uses a hardcoded keymap.The
console-data
package contains the Linux vt keymap files, for example/usr/share/keymaps/i386/qwerty/it.kmap.gz
:These could be parsed, or perhaps there is some existing C library or kernel input layer that can apply the keymap? Also, should the keymap setting be a global setting or perhaps be set on a per-keyboard basis (as part of the keyboard claim)?
The text was updated successfully, but these errors were encountered: