Fix warnings in planck/lucas keymap

Register the unshifted version DE_LESS, rather than the shifted DE_MORE
example_keyboards
Fred Sundvik 8 years ago
parent df30d18458
commit a619b93e38

@ -153,9 +153,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case 1: // M(1)
if (record->event.pressed) {
unregister_code(KC_LSFT);
register_code(DE_MORE);
register_code(DE_LESS);
} else {
unregister_code(DE_MORE);
unregister_code(DE_LESS);
}
break;
}

Loading…
Cancel
Save