Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public void Register(IUSBPeripheral peripheral, USBRegistrationPoint registrationPoint)
 {
     AttachDevice(peripheral, registrationPoint.Address.Value);
     machine.RegisterAsAChildOf(this, peripheral, registrationPoint);
     registrationPoints.Add(peripheral, registrationPoint);
 }
Ejemplo n.º 4
0
 public void Register(IUSBPeripheral peripheral, USBRegistrationPoint registrationPoint)
 {
     AttachDevice(peripheral, registrationPoint.Address.Value);
     machine.RegisterAsAChildOf(this, peripheral, registrationPoint);
     registrationPoints.Add(peripheral, registrationPoint);
 }