To add a keyboard layout, you must refer to this following picture (sourced from this article from Vasily Rubashka, Ukraine , Sergey Shilov, Russia) to identify the keycode with the keys position.
Then:
- define the LOCALISE_xx layout constant (eg:
LOCALISE_FR
for French keyboard) - Update the
CMakeLists.txt
and append a new picoterm_xx executable for the new layout (eg:picoterm_FR
). Just follow thepicoterm_FR
as an example and repeat the operations. - Code a new section in the
pmhid.h
file for the new LOCALISE_xx layout. This should be obvious. cmake ..
need to be issued once to be able to build the new executable picoterm_xx .- From now, the picoterm can be compiled for the new layout with
make picoterm_xx
(eg:make picoterm_FR
).
Voila!