mirror of
https://github.com/option8/RetroConnector.git
synced 2025-02-17 07:31:31 +00:00
USB hub support
Adds support for keyboards connected through hub - mainly Apple USB keyboards. #1 request!
This commit is contained in:
parent
f21df5bffa
commit
e018531870
@ -743,7 +743,7 @@ void KbdRptParser::OnKeyPressed(uint8_t key)
|
|||||||
};
|
};
|
||||||
|
|
||||||
USB Usb;
|
USB Usb;
|
||||||
//USBHub Hub(&Usb);
|
USBHub Hub(&Usb);
|
||||||
HIDBoot<HID_PROTOCOL_KEYBOARD> Keyboard(&Usb);
|
HIDBoot<HID_PROTOCOL_KEYBOARD> Keyboard(&Usb);
|
||||||
|
|
||||||
uint32_t next_time;
|
uint32_t next_time;
|
||||||
@ -793,7 +793,7 @@ digitalWrite(CONTROL_PIN, HIGH);
|
|||||||
|
|
||||||
// *** DEBUG
|
// *** DEBUG
|
||||||
// Serial.begin( 115200 );
|
// Serial.begin( 115200 );
|
||||||
Serial.println("Start");
|
// Serial.println("Start");
|
||||||
|
|
||||||
if (Usb.Init() == -1)
|
if (Usb.Init() == -1)
|
||||||
Serial.println("OSC did not start.");
|
Serial.println("OSC did not start.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user