Example #1
0
 public void Register(IUSBHub peripheral, USBRegistrationPoint registrationPoint)
 {
     peripheral.Connected    += Connected;
     peripheral.Disconnected += Disconnected;
     peripheral.RegisterHub  += RegisterHub;
     peripheral.ActiveDevice += ActiveDevice;
     AttachDevice(peripheral, registrationPoint.Address.Value);
     machine.RegisterAsAChildOf(this, peripheral, registrationPoint);
 }
Example #2
0
 public void Register(IUSBHub peripheral, USBRegistrationPoint registrationPoint)
 {
     peripheral.Connected += Connected;
     peripheral.Disconnected += Disconnected;
     peripheral.RegisterHub += RegisterHub;
     peripheral.ActiveDevice += ActiveDevice;
     AttachDevice(peripheral, registrationPoint.Address.Value);
     machine.RegisterAsAChildOf(this, peripheral, registrationPoint);
 }
Example #3
0
 public void Register(IUSBPeripheral peripheral, USBRegistrationPoint registrationPoint)
 {
     AttachDevice(peripheral, registrationPoint.Address.Value);
     machine.RegisterAsAChildOf(this, peripheral, registrationPoint);
     registrationPoints.Add(peripheral, registrationPoint);
 }
Example #4
0
 public void Register(IUSBPeripheral peripheral, USBRegistrationPoint registrationPoint)
 {
     AttachDevice(peripheral, registrationPoint.Address.Value);
     machine.RegisterAsAChildOf(this, peripheral, registrationPoint);
     registrationPoints.Add(peripheral, registrationPoint);
 }