fixed layout switching

This commit is contained in:
Maarten van Gompel
2021-08-24 16:39:29 +02:00
committed by John Sullivan
parent 19213688d1
commit 8fdaaa2b6f
3 changed files with 21 additions and 29 deletions

View File

@ -1,6 +1,6 @@
/* constants */
/* how tall the keyboard should be */
/* how tall the keyboard should be by default (can be overriden) */
#define KBD_PIXEL_HEIGHT 240
/* if your layout leaves an empty margin, increase this to fix it */
@ -138,7 +138,7 @@ static struct layout layouts[NumLayouts] = {
/* keyboard settings */
static struct kbd keyboard = {
/* default layout */
.layers = &layers,
.layers = (enum layout_id *) &layers,
.layer_index = 0,
.scheme =
{