Layout definition

The keyboard layout is defined in layout.js. If you wonder why these and other files have the extension .js: They can be loaded as Javascript into a locally opened HTML page. For example: PinMapper.html uses this mechanism to read the key positions from keypositions.js. There is actually no HTML based tool for managing layout.js, but maybe there will be one in the future.

Sections

layout.js consists of sections. Each section begins with a section keyword in one line and ends with the next empty line. These are the three available section types:

  • keyboard
  • layout
  • layer

The order and count is important. It starts with the keyboard section, followed by a layout section and finally one or more layer sections.

© by Andreas Känner, 2021 - 2022. All Rights Reserved. Built with Typemill.