[modules/layout] add a new - generic - layout module

Add a new module "layout" that will eventually evolve into the only
keyboard layout module.

Right now, it uses an external binary (get-kbd-layout) to determine the
layout of a keyboard device (because I did not manage to call libX11
with ctypes correctly).

see #788
see #790
This commit is contained in:
tobi-wan-kenobi 2021-05-16 21:09:58 +02:00
parent 902288f30d
commit dfd23a44de
5 changed files with 93 additions and 0 deletions

BIN
bin/get-kbd-layout Executable file

Binary file not shown.