Microsoft.Xna.Framework.Input Namespace
XNA Game Studio 3.1
Contains classes to receive input from keyboard, mouse, and Xbox 360 Controller devices.
| Name | Description | |
|---|---|---|
![]() | Accelerometer | Provides methods for interacting with the 3-axis accelerometer of a Zune device. |
![]() | GamePad | Allows retrieval of user interaction with an Xbox 360 Controller and setting of controller vibration motors. |
![]() | Keyboard | Allows retrieval of keystrokes from a keyboard input device. |
![]() | Mouse | Allows retrieval of position and button clicks from a mouse input device. |
![]() | TouchPanel | Provides methods for retrieving touch panel device information. |
| Name | Description | |
|---|---|---|
![]() | AccelerometerCapabilities | Provides properties for accessing the capabilities of an accelerometer. |
![]() | AccelerometerState | Provides information on the current state of the accelerometer device and a helper function for rotational computation. |
![]() | GamePadButtons | Identifies whether the buttons on an Xbox 360 Controller are pressed or released. |
![]() | GamePadCapabilities | Describes the capabilities of an Xbox 360 Controller, including controller type and whether the controller supports voice. |
![]() | GamePadDPad | Identifies which directions on the directional pad of an Xbox 360 Controller are being pressed. |
![]() | GamePadState | Represents specific information about the state of an Xbox 360 Controller, including the current state of buttons and sticks. |
![]() | GamePadThumbSticks | Structure that represents the position of left and right sticks (thumbsticks) on an Xbox 360 Controller. |
![]() | GamePadTriggers | Structure that defines the position of the left and right triggers on an Xbox 360 controller. |
![]() | KeyboardState | Represents a state of keystrokes recorded by a keyboard input device. |
![]() | MouseState | Represents the state of a mouse input device, including mouse cursor position and buttons pressed. |
![]() | TouchCollection | Provides methods and properties for accessing state information for the touch screen of a Zune device. |
![]() | TouchCollection.Enumerator | Provides the ability to iterate through the touch locations in a TouchCollection. |
![]() | TouchLocation | Provides methods and properties for interacting with a touch location on a touch screen device. |
![]() | TouchPanelCapabilities | Provides access to information about the touch pad device. |
| Name | Description | |
|---|---|---|
![]() | Buttons | Enumerates input device buttons. |
![]() | ButtonState | Identifies the state of a controller button. |
![]() | GamePadDeadZone | Specifies a type of dead zone processing to apply to Xbox 360 controller analog sticks when calling GetState. |
![]() | GamePadType | Describes the type of a specified Xbox 360 controller. |
![]() | Keys | Identifies a particular key on a keyboard. |
![]() | KeyState | Identifies the state of a keyboard key. |
![]() | TouchLocationState | Defines the possible states for a touch location. |


