Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 930 Bytes

add-keyboard-layout.md

File metadata and controls

14 lines (10 loc) · 930 Bytes

Adding a keyboard layout

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.

keycodes

Then:

  1. define the LOCALISE_xx layout constant (eg: LOCALISE_FR for French keyboard)
  2. Update the CMakeLists.txt and append a new picoterm_xx executable for the new layout (eg: picoterm_FR). Just follow the picoterm_FR as an example and repeat the operations.
  3. Code a new section in the pmhid.h file for the new LOCALISE_xx layout. This should be obvious.
  4. cmake .. need to be issued once to be able to build the new executable picoterm_xx .
  5. From now, the picoterm can be compiled for the new layout with make picoterm_xx (eg: make picoterm_FR).

Voila!