diff --git a/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino b/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino index 71e7430a..8421f6ee 100644 --- a/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino +++ b/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino @@ -68,7 +68,7 @@ void KbdRptParser::OnKeyPressed(uint8_t key) USB Usb; //USBHub Hub(&Usb); -HIDBoot Keyboard(&Usb); +HIDBoot HidKeyboard(&Usb); uint32_t next_time; @@ -86,7 +86,7 @@ void setup() next_time = millis() + 5000; - Keyboard.SetReportParser(0, (HIDReportParser*)&Prs); + HidKeyboard.SetReportParser(0, (HIDReportParser*)&Prs); } void loop() diff --git a/examples/HID/USBHIDBootMouse/USBHIDBootMouse.pde b/examples/HID/USBHIDBootMouse/USBHIDBootMouse.pde index eb3500f4..2227a29b 100644 --- a/examples/HID/USBHIDBootMouse/USBHIDBootMouse.pde +++ b/examples/HID/USBHIDBootMouse/USBHIDBootMouse.pde @@ -58,7 +58,7 @@ void MouseRptParser::OnMiddleButtonDown (MOUSEINFO *mi) USB Usb; USBHub Hub(&Usb); -HIDBoot Mouse(&Usb); +HIDBoot HidMouse(&Usb); uint32_t next_time; @@ -76,7 +76,7 @@ void setup() next_time = millis() + 5000; - Mouse.SetReportParser(0,(HIDReportParser*)&Prs); + HidMouse.SetReportParser(0,(HIDReportParser*)&Prs); } void loop()