Fix the `keymap.dump` Focus command

The `keymap.dump` command should dump up to `maxLayers` amount of layers,
instead of a hardcoded four.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent 18d8a31338
commit e3481be6ed

@ -123,7 +123,7 @@ namespace KaleidoscopePlugins {
case DUMP:
{
for (uint8_t layer = 0; layer < 4; layer++) {
for (uint8_t layer = 0; layer < maxLayers; layer++) {
for (uint8_t row = 0; row < ROWS; row++) {
for (uint8_t col = 0; col < COLS; col++) {
Key k = getKey (layer, row, col);

Loading…
Cancel
Save