summaryrefslogtreecommitdiff
path: root/keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c
diff options
context:
space:
mode:
authorMaciej Piechotka <uzytkownik2@gmail.com>2016-02-13 10:00:48 -0800
committerMaciej Piechotka <uzytkownik2@gmail.com>2016-03-17 08:18:03 -0700
commit5d8f4ff957e08fd39039e3f23b0a552b8b32a24f (patch)
tree2cca98eb26c831eb3905c627a7a0977e76dfcc39 /keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c
parent35393fa9dc3d14ea80ce72f27c13b1759600b245 (diff)
Add missing breaks in mpiechotka ergodox_ez keyboard
Diffstat (limited to 'keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c')
-rw-r--r--keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c b/keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c
index 178c290660..d2f5e81966 100644
--- a/keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c
+++ b/keyboard/ergodox_ez/keymaps/mpiechotka/keymap.c
@@ -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;
}