fl16: Re-enable NKRO but only in OS
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
parent
7682b2378d
commit
9533b165fc
@ -9,7 +9,7 @@
|
|||||||
"extrakey": true,
|
"extrakey": true,
|
||||||
"console": true,
|
"console": true,
|
||||||
"command": false,
|
"command": false,
|
||||||
"nkro": false,
|
"nkro": true,
|
||||||
"audio": false
|
"audio": false
|
||||||
},
|
},
|
||||||
"debounce": 5,
|
"debounce": 5,
|
||||||
|
@ -235,6 +235,12 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|||||||
}
|
}
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
|
// Enable NKRO only in OS. Can cause issues with some pre-boot environments
|
||||||
|
// Framework UEFI is ok, but I think grub can't handle it properly
|
||||||
|
if (!bios_mode) {
|
||||||
|
keymap_config.nkro = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (!handle_bios_hotkeys(keycode, record)) {
|
if (!handle_bios_hotkeys(keycode, record)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"extrakey": true,
|
"extrakey": true,
|
||||||
"console": true,
|
"console": true,
|
||||||
"command": false,
|
"command": false,
|
||||||
"nkro": false,
|
"nkro": true,
|
||||||
"audio": false
|
"audio": false
|
||||||
},
|
},
|
||||||
"debounce": 5,
|
"debounce": 5,
|
||||||
|
Loading…
Reference in New Issue
Block a user