Add missing breaks in mpiechotka ergodox_ez keyboard
This commit is contained in:
parent
35393fa9dc
commit
5d8f4ff957
|
@ -222,22 +222,27 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||||
} else {
|
} else {
|
||||||
unregister_code(KC_LGUI);
|
unregister_code(KC_LGUI);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case PC1:
|
case PC1:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(1), T(ENT), END);
|
return MACRO(T(SLCK), T(SLCK), T(1), T(ENT), END);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case PC2:
|
case PC2:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(2), T(ENT), END);
|
return MACRO(T(SLCK), T(SLCK), T(2), T(ENT), END);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case PC3:
|
case PC3:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(3), T(ENT), END);
|
return MACRO(T(SLCK), T(SLCK), T(3), T(ENT), END);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case PC4:
|
case PC4:
|
||||||
if (!record->event.pressed) {
|
if (!record->event.pressed) {
|
||||||
return MACRO(T(SLCK), T(SLCK), T(4), T(ENT), END);
|
return MACRO(T(SLCK), T(SLCK), T(4), T(ENT), END);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return MACRO_NONE;
|
return MACRO_NONE;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue