@ -12,8 +12,7 @@
The `Colormap` extension provides an easier way to set up a different - static -
The `Colormap` extension provides an easier way to set up a different - static -
color map per-layer. This means that we can set up a map of colors for each key,
color map per-layer. This means that we can set up a map of colors for each key,
on a per-layer basis, and whenever a layer becomes active, the color map for
on a per-layer basis, and whenever a layer becomes active, the color map for
that layer is applied on top of everything else. Colors are picked from a
that layer is applied. Colors are picked from a 16-color palette, provided by
15-color palette (or 16, if we disable transparency), provided by
the [LED-Palette-Theme][plugin:l-p-t] plugin. The color map is stored in
the [LED-Palette-Theme][plugin:l-p-t] plugin. The color map is stored in
`EEPROM` , and can be easily changed via the [Focus][plugin:focus] plugin, which
`EEPROM` , and can be easily changed via the [Focus][plugin:focus] plugin, which
also provides palette editing capabilities.
also provides palette editing capabilities.
@ -42,7 +41,7 @@ void setup(void) {
}
}
```
```
## Extensio n methods
## Plugi n methods
The extension provides an `ColormapEffect` singleton object, with a single method:
The extension provides an `ColormapEffect` singleton object, with a single method: