public ICtrl SetController(uint controllerNumber) { int curController = SimpleIOClass.GetSelectedDevice(); if (SimpleIOClass.SelectDevice(controllerNumber) == 0) { return(_controllers[(int)controllerNumber]); } else { return(_controllers[curController]); } }
public ICtrl GetCurrentController() { return(_controllers[SimpleIOClass.GetSelectedDevice()]); }
public uint GetCurrentControllerID() { return((uint)SimpleIOClass.GetSelectedDevice()); }
public string GetControllerInfo() { return(SimpleIOClass.GetDeviceInfo((uint)SimpleIOClass.GetSelectedDevice())); }