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