Bootkeyboard send protocol and idle time

Idle time will not change (is not implemented) So it is unsure what the host will do
This commit is contained in:
NicoHood 2015-11-06 19:05:04 +01:00
parent e46469dfef
commit 7310ae9298

View file

@ -120,7 +120,11 @@ bool BootKeyboard_::setup(USBSetup& setup)
return true;
}
if (request == HID_GET_PROTOCOL) {
// TODO: Send8(protocol);
UEDATX = protocol;
return true;
}
if (request == HID_GET_IDLE) {
UEDATX = idle;
return true;
}
}