mirror of
https://github.com/option8/RetroConnector.git
synced 2024-12-29 07:29:26 +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;
|
||||
//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.");
|
||||
|
Loading…
Reference in New Issue
Block a user