wip for macOS testing

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
wip/rcm-stm32
Gergely Nagy 3 years ago
parent e1514a0bc5
commit 8292a2d92f
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -23,7 +23,7 @@ namespace hid {
namespace rcmcomposite { namespace rcmcomposite {
USBHID RCMHID; USBHID RCMHID;
HIDKeyboard RCMBootKeyboard(RCMHID, 1); HIDKeyboard RCMBootKeyboard(RCMHID);
HIDConsumer RCMConsumer(RCMHID); HIDConsumer RCMConsumer(RCMHID);
HIDMouse RCMMouse(RCMHID); HIDMouse RCMMouse(RCMHID);
USBCompositeSerial CompositeSerial; USBCompositeSerial CompositeSerial;

@ -35,7 +35,7 @@ extern USBHID RCMHID;
extern USBCompositeSerial CompositeSerial; extern USBCompositeSerial CompositeSerial;
const uint8_t report_description_[] = { const uint8_t report_description_[] = {
HID_BOOT_KEYBOARD_REPORT_DESCRIPTOR(), HID_KEYBOARD_REPORT_DESCRIPTOR(),
HID_CONSUMER_REPORT_DESCRIPTOR(), HID_CONSUMER_REPORT_DESCRIPTOR(),
HID_MOUSE_REPORT_DESCRIPTOR() HID_MOUSE_REPORT_DESCRIPTOR()
}; };

@ -37,7 +37,7 @@ class BootKeyboardWrapper {
void begin() {} void begin() {}
uint8_t getProtocol() { uint8_t getProtocol() {
return 0; return 1;
} }
void setProtocol(uint8_t protocol) {} void setProtocol(uint8_t protocol) {}
void setDefaultProtocol(uint8_t protocol) {} void setDefaultProtocol(uint8_t protocol) {}

Loading…
Cancel
Save