Archived
1
0

Force 6KRO/Boot mode always if defined by KLL

- usbProtocol = 0;
This commit is contained in:
Jacob Alexander 2016-08-18 22:49:51 -07:00
parent 6d2a4e0f23
commit 22a24e967b

View File

@ -653,6 +653,12 @@ static void usb_setup()
print(NL); print(NL);
#endif #endif
USBKeys_Protocol = setup.wValue & 0xFF; // 0 - Boot Mode, 1 - NKRO Mode USBKeys_Protocol = setup.wValue & 0xFF; // 0 - Boot Mode, 1 - NKRO Mode
// Force Boot Mode if defined by KLL
if ( USBProtocol_define == 0 )
{
USBKeys_Protocol = USBProtocol_define;
}
goto send; goto send;
case 0x03A1: /// HID GET_PROTOCOL case 0x03A1: /// HID GET_PROTOCOL