1
0
Fork 0

Fix warnings in planck/lucas keymap

Register the unshifted version DE_LESS, rather than the shifted DE_MORE
This commit is contained in:
Fred Sundvik 2017-04-10 10:12:41 +03:00
parent df30d18458
commit a619b93e38

View file

@ -153,12 +153,12 @@ 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;
}
return MACRO_NONE;
};
};