Signed-off-by: Gergely Nagy <algernon@keyboard.io>
@ -23,7 +23,7 @@ namespace hid {
namespace rcmcomposite {
USBHID RCMHID;
HIDKeyboard RCMBootKeyboard(RCMHID, 1);
HIDKeyboard RCMBootKeyboard(RCMHID);
HIDConsumer RCMConsumer(RCMHID);
HIDMouse RCMMouse(RCMHID);
USBCompositeSerial CompositeSerial;
@ -35,7 +35,7 @@ extern USBHID RCMHID;
extern USBCompositeSerial CompositeSerial;
const uint8_t report_description_[] = {
HID_BOOT_KEYBOARD_REPORT_DESCRIPTOR(),
HID_KEYBOARD_REPORT_DESCRIPTOR(),
HID_CONSUMER_REPORT_DESCRIPTOR(),
HID_MOUSE_REPORT_DESCRIPTOR()
};
@ -37,7 +37,7 @@ class BootKeyboardWrapper {
void begin() {}
uint8_t getProtocol() {
return 0;
return 1;
}
void setProtocol(uint8_t protocol) {}
void setDefaultProtocol(uint8_t protocol) {}