Force 6KRO/Boot mode always if defined by KLL
- usbProtocol = 0;
This commit is contained in:
parent
6d2a4e0f23
commit
22a24e967b
@ -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
|
||||||
|
Reference in New Issue
Block a user