This topic has not yet been rated - Rate this topic

Microsoft.Xna.Framework.Input Namespace

Contains classes to receive input from keyboard, mouse, and Xbox 360 Controller devices.
Name Description
Public Class GamePad Allows retrieval of user interaction with an Xbox 360 Controller and setting of controller vibration motors.
Public Class Keyboard Allows retrieval of keystrokes from a keyboard input device.
Public Class Mouse Allows retrieval of position and button clicks from a mouse input device.
Name Description
Public Structure GamePadButtons Identifies whether buttons on an Xbox 360 Controller are pressed or released.
Public Structure GamePadCapabilities Describes the capabilities of an Xbox 360 Controller, including controller type, and identifies if the controller supports voice.
Public Structure GamePadDPad Identifies which directions on the directional pad of an Xbox 360 Controller are being pressed.
Public Structure GamePadState Represents specific information about the state of an Xbox 360 Controller, including the current state of buttons and sticks.
Public Structure GamePadThumbSticks Structure that represents the position of left and right sticks (thumbsticks) on an Xbox 360 Controller.
Public Structure GamePadTriggers Structure that defines the position of the left and right triggers on an Xbox 360 Controller.
Public Structure KeyboardState Represents a state of keystrokes recorded by a keyboard input device.
Public Structure MouseState Represents the state of a mouse input device, including mouse cursor position and buttons pressed.
Name Description
Public Enumeration Buttons Enumerates input device buttons.
Public Enumeration ButtonState Identifies the state of a controller button.
Public Enumeration GamePadDeadZone Specifies a type of dead zone processing to apply to Xbox 360 Controller analog sticks when calling GetState.
Public Enumeration GamePadType Describes the type of a specified Xbox 360 Controller.
Public Enumeration Keys Identifies a particular key on a keyboard.
Public Enumeration KeyState Identifies the state of a keyboard key.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ