Skip to content

Commit

Permalink
Add missing breaks in mpiechotka ergodox_ez keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
uzytkownik committed Mar 17, 2016
1 parent 35393fa commit 5d8f4ff
Show file tree
Hide file tree
Showing 2 changed files with 1,237 additions and 1,233 deletions.
5 changes: 5 additions & 0 deletions keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,22 +222,27 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
} else {
unregister_code(KC_LGUI);
}
break;
case PC1:
if (!record->event.pressed) {
return MACRO(T(SLCK), T(SLCK), T(1), T(ENT), END);
}
break;
case PC2:
if (!record->event.pressed) {
return MACRO(T(SLCK), T(SLCK), T(2), T(ENT), END);
}
break;
case PC3:
if (!record->event.pressed) {
return MACRO(T(SLCK), T(SLCK), T(3), T(ENT), END);
}
break;
case PC4:
if (!record->event.pressed) {
return MACRO(T(SLCK), T(SLCK), T(4), T(ENT), END);
}
break;
}
return MACRO_NONE;
}
Expand Down
Loading

0 comments on commit 5d8f4ff

Please sign in to comment.