Currently I am using the raw key codes from Xlib, which are not portable between operating systems. Instead, we should rely on the (ASCII) characters and fixed keyboard layouts.
A few options:
set the layout at build time, cmake .. -DKEYBOARD_LAYOUT=QWERTY
set the layout at run time ./FC8 --qwerty (users can make an alias alias FC8=FC8 --azerty)
Currently I am using the raw key codes from Xlib, which are not portable between operating systems. Instead, we should rely on the (ASCII) characters and fixed keyboard layouts.
A few options:
cmake .. -DKEYBOARD_LAYOUT=QWERTY
./FC8 --qwerty
(users can make an aliasalias FC8=FC8 --azerty
)A few relevant links: