

Thus, the mapping that is usually done by a LAYOUT_*() macro in QMK is instead stored in the key objects in the KLE JSON. The mapping from physical layout to switch matrix layout is defined by the top-left legend of the key, using row,col format. Some color themes may have the same color for alphas and modifiers.

Note: The key colors used in the KLE will be used by VIA to map alphas/modifiers/accents to a color theme, thus all keys which are the "modifier" color in a standard keycap set should be set to #aaaaaa. Use legend color #000000 for all legends.Use key color #cccccc for alphas, #aaaaaa for modifier keys and #777777 for accents (i.e.Rotated keys are allowed but layout options for rotated keys is not supported.Horizontal and vertical gaps are allowed (for separation of rows, columns, blockers, etc.).(KLE's "Raw data" tab contains JSON with missing " around property names.) In KLE, save as a JSON file and then copy the contents of the JSON file into the keymap property of the. Unfortunately, copying and pasting the other way does not work. The user can copy the value of the keymap property into the "Raw data" tab of Keyboard Layout Editor, i.e.

json that VIA uses, only the KLE JSON within the keymap property. Keyboard Layout Editor will not load the. The labels property is used to name the layout options. This contains the switch matrix coordinates for each key, and optionally information about layout options. It optionally requires definition of layout options - alternative physical arrangements of keys, such as different bottom rows, split right shift, etc.Įverything inside the keymap property is KLE JSON data, which can be edited using Keyboard Layout Editor. VIA requires a definition of both the physical arrangement of keys and the mapping of those keys to the switch matrix.
