|
|
@ -98,6 +98,7 @@ void keymap_debug(void)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NO_ACTION_OVERLAY
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Overlay Layer (16-31 = 0-15|0x10)
|
|
|
|
* Overlay Layer (16-31 = 0-15|0x10)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -169,12 +170,14 @@ void overlay_debug(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
debug_hex16(overlay_stat); debug("("); debug_dec(overlay_get_layer()); debug(")");
|
|
|
|
debug_hex16(overlay_stat); debug("("); debug_dec(overlay_get_layer()); debug(")");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
action_t layer_switch_get_action(key_t key)
|
|
|
|
action_t layer_switch_get_action(key_t key)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
action_t action;
|
|
|
|
action_t action;
|
|
|
|
action.code = ACTION_TRANSPARENT;
|
|
|
|
action.code = ACTION_TRANSPARENT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NO_ACTION_OVERLAY
|
|
|
|
/* overlay: top layer first */
|
|
|
|
/* overlay: top layer first */
|
|
|
|
for (int8_t i = 15; i >= 0; i--) {
|
|
|
|
for (int8_t i = 15; i >= 0; i--) {
|
|
|
|
if (overlay_stat & (1<<i)) {
|
|
|
|
if (overlay_stat & (1<<i)) {
|
|
|
@ -184,6 +187,7 @@ action_t layer_switch_get_action(key_t key)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* keymap: top layer first */
|
|
|
|
/* keymap: top layer first */
|
|
|
|
for (int8_t i = 15; i >= 0; i--) {
|
|
|
|
for (int8_t i = 15; i >= 0; i--) {
|
|
|
|