|
|
@ -24,6 +24,7 @@ void default_layer_set(uint8_t layer)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NO_ACTION_KEYMAP
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Keymap Layer (0-15)
|
|
|
|
* Keymap Layer (0-15)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -95,6 +96,7 @@ void keymap_debug(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
debug_hex16(keymap_stat); debug("("); debug_dec(keymap_get_layer()); debug(")");
|
|
|
|
debug_hex16(keymap_stat); debug("("); debug_dec(keymap_get_layer()); debug(")");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -189,6 +191,7 @@ action_t layer_switch_get_action(key_t key)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NO_ACTION_KEYMAP
|
|
|
|
/* keymap: top layer first */
|
|
|
|
/* keymap: top layer first */
|
|
|
|
for (int8_t i = 15; i >= 0; i--) {
|
|
|
|
for (int8_t i = 15; i >= 0; i--) {
|
|
|
|
if (keymap_stat & (1<<i)) {
|
|
|
|
if (keymap_stat & (1<<i)) {
|
|
|
@ -198,6 +201,7 @@ action_t layer_switch_get_action(key_t key)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* default layer */
|
|
|
|
/* default layer */
|
|
|
|
action = action_for_key(default_layer, key);
|
|
|
|
action = action_for_key(default_layer, key);
|
|
|
|