internal Gamepad(PlayerIndex playerIndex) { _playerIndex = playerIndex; for (var x = 0; x < 14; x++) _gamepadButtonStates[x] = new ButtonState(); Triggers = new GamepadTriggers(); ThumbSticks = new GamepadThumbSticks(); }
internal Mouse() { LeftButton = new ButtonState(); RightButton = new ButtonState(); MiddleButton = new ButtonState(); XButton1 = new ButtonState(); XButton2 = new ButtonState(); }
internal Keyboard() { for (var i = 0; i < 256; i++) _keyButtonStates[i] = new ButtonState(); }