From 7310ae929819f76237bd29f3a18b42841465f365 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Fri, 6 Nov 2015 19:05:04 +0100 Subject: [PATCH] Bootkeyboard send protocol and idle time Idle time will not change (is not implemented) So it is unsure what the host will do --- src/SingleReport/BootKeyboard.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/SingleReport/BootKeyboard.cpp b/src/SingleReport/BootKeyboard.cpp index 0b4378a..debadb3 100644 --- a/src/SingleReport/BootKeyboard.cpp +++ b/src/SingleReport/BootKeyboard.cpp @@ -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; } }