Implement keyboard layouts support
GUI
Linux and BSD systems use the XKB protocol from X11 to get the keyboard layout data for graphical programs.
The xkbcommon library is used for non-X11 display servers, like Wayland compositors and clients.
The XKB database can be found here.
Terminal
I didn't found the keyboard layouts for the VT terminals on Linux, but I found on FreeBSD.
You can see them on the following links:
- https://github.com/freebsd/freebsd-src/tree/main/share/vt
- https://github.com/freebsd/freebsd-src/tree/main/share/syscons
References
Edited by Ribbon