Esempio n. 1
0
 public XBoxController(string portName)
 {
     xboxConnection       = new XBoxConnection(portName);
     xboxButtons          = new XBoxButtons(xboxConnection);
     xboxDPad             = new XBoxDPad(xboxConnection);
     xboxTriggers         = new XBoxTriggers(xboxConnection);
     xboxThumbSticks      = new XBoxThumbSticks(xboxConnection);
     xboxControllerConfig = new XBoxControllerConfiguration(xboxConnection);
     CalibrationEnabled   = false;
     IsWireless           = false;
 }
Esempio n. 2
0
 public XBoxController(string portName)
 {
     xboxConnection = new XBoxConnection(portName);
     xboxButtons = new XBoxButtons(xboxConnection);
     xboxDPad = new XBoxDPad(xboxConnection);
     xboxTriggers = new XBoxTriggers(xboxConnection);
     xboxThumbSticks = new XBoxThumbSticks(xboxConnection);
     xboxControllerConfig = new XBoxControllerConfiguration(xboxConnection);
     CalibrationEnabled = false;
     IsWireless = false;
 }