Exemplo 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;
 }
Exemplo 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;
 }