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