Skip to content
cajhin edited this page Jan 1, 2021 · 4 revisions

Rules of the capsicain.ini file

File is read on startup, and on Reload (ESC+R).

Whole file is converted to lowercase.

Everything following the comment char '#' is deleted.

The sections names [layer_1] to [layer_9] have a special meaning. Those are the root sections for layers 1-9.
[layer_0] must not be used.

All other sections can have any name (avoid spaces).

All GLOBALs, regardless of their position, are evaluated on startup and reload. It does not matter if GLOBALs appear under layers, they are always active for all layers.

Section [layer_{currentLayer}] is assembled on every layer change. All INCLUDEs are replaced with the referenced section.

All sections that are neither [layer_{currentLayer}], nor included by it, are ignored. You can create dummy sections with arbitrary names which will always be ignored, as long as they are not included anywhere.

All valid keywords (OPTION, REWIRE, COMBO, ALPHA*) inside the assembled layer are evaluated.