ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

Implement support for keyboard layouts.

Open nicolas-graves opened this issue 3 years ago • 1 comments

From the README:

Now it's possible to implement support for different keyboard layouts in type

How can I do that ? I can't find the information.

Also I would like to raise the possibility that all common keyboards are defined from keycodes in the package xkeyboard-config "symbols" directory. Maybe if we can parse those files, the support for all keyboards might be easy to implement.

nicolas-graves avatar Sep 28 '22 14:09 nicolas-graves

More precisely, the match between linux keycodes and xkb keycodes can be done from /usr/share/X11/xkb/keycodes/evdev and then the match with each keyboard from files in the symbols directory. Source: https://renenyffenegger.ch/notes/Linux/fhs/usr/share/X11/xkb/keycodes/evdev

nicolas-graves avatar Sep 28 '22 14:09 nicolas-graves