NKRO is disable when SET_PROTOCOL(boot)
- Command can force to enable NKRO even when boot mode - After boot keyboard may be in boot mode due to BIOS' request
This commit is contained in:
parent
5e3f2d2b2e
commit
22854eb71b
4 changed files with 11 additions and 5 deletions
|
@ -930,6 +930,9 @@ ISR(USB_COM_vect)
|
|||
}
|
||||
if (bRequest == HID_SET_PROTOCOL) {
|
||||
keyboard_protocol = wValue;
|
||||
#ifdef NKRO_ENABLE
|
||||
keyboard_nkro = !!keyboard_protocol;
|
||||
#endif
|
||||
clear_keyboard();
|
||||
//usb_wait_in_ready();
|
||||
usb_send_in();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue