コード例 #1
0
ファイル: XBoxController_v100.cs プロジェクト: yeti5/pg3b
 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;
 }
コード例 #2
0
ファイル: XBoxController_v100.cs プロジェクト: LukaJCB/pg3b
 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;
 }