public bool GetButtonState(int mapId) { var rawOffset = JoystickOffsetValues.GetButtonIndexForJoystickState(mapId); var js = new JoystickState(); Joystick.GetCurrentState(ref js); return(js.Buttons[rawOffset]); }
public bool GetButtonState(int mapId) { var rawOffset = JoystickOffsetValues.GetButtonIndexForJoystickState(mapId); var js = new JoystickState(); Joystick.GetCurrentState(ref js); return(js.Buttons[rawOffset]); }