This commit is contained in:
skullY 2020-02-29 09:49:42 -08:00
parent f513a9193c
commit c4aa18363e
144 changed files with 66 additions and 928 deletions

View file

@ -78,6 +78,11 @@ void matrix_scan_kb(void)
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
switch (keycode) {
case BL_INC:
if (record->event.pressed) {
@ -123,7 +128,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
break;
}
return process_record_user(keycode, record);;
return true;
}
#ifdef VIA_ENABLE