What Is My F^%$# Layout Again?
- set driver in config.json to "zmk"
- Make the changes to your config below;
# Turn on logging, and set ZMK logging to debug output
CONFIG_LOG=y
CONFIG_ZMK_LOG_LEVEL_DBG=y
CONFIG_ZMK_USB_LOGGING=y
- set driver in config.json to "qmk"
- Make the changes to your config below;
CONSOLE_ENABLE = yes
uint32_t layer_state_set_user(uint32_t state) {
if (is_keyboard_master()) {
switch (biton32(state)) {
case _QWERTY:
uprintf("layer:QWERTY\n");
break;
case _DVORAK:
uprintf("layer:Dvorak\n");
break;
case _COLEMAK_DH:
uprintf("layer:Colemak-DH\n");
break;
case _NAV:
uprintf("layer:Nav\n");
break;
case _SYM:
uprintf("layer:Sym\n");
break;
case _FUNCTION:
uprintf("layer:Function\n");
break;
case _ADJUST:
uprintf("layer:Adjust\n");
break;
default:
uprintf("layer:Undefined\n");
}
}
return state;
}