Microsoft.Xna.Framework.Input

Microsoft.Xna.Framework.Input Namespace

Contains classes to receive input from keyboard, mouse, and Xbox 360 Controller devices.

NameDescription
Public ClassAccelerometerProvides methods for interacting with the 3-axis accelerometer of a Zune device.
Public ClassGamePadAllows retrieval of user interaction with an Xbox 360 Controller and setting of controller vibration motors.
Public ClassKeyboardAllows retrieval of keystrokes from a keyboard input device.
Public ClassMouseAllows retrieval of position and button clicks from a mouse input device.
Public ClassTouchPanelProvides methods for retrieving touch panel device information.

NameDescription
Public StructureAccelerometerCapabilitiesProvides properties for accessing the capabilities of an accelerometer.
Public StructureAccelerometerStateProvides information on the current state of the accelerometer device and a helper function for rotational computation.
Public StructureGamePadButtonsIdentifies whether the buttons on an Xbox 360 Controller are pressed or released.
Public StructureGamePadCapabilitiesDescribes the capabilities of an Xbox 360 Controller, including controller type and whether the controller supports voice.
Public StructureGamePadDPadIdentifies which directions on the directional pad of an Xbox 360 Controller are being pressed.
Public StructureGamePadStateRepresents specific information about the state of an Xbox 360 Controller, including the current state of buttons and sticks.
Public StructureGamePadThumbSticksStructure that represents the position of left and right sticks (thumbsticks) on an Xbox 360 Controller.
Public StructureGamePadTriggersStructure that defines the position of the left and right triggers on an Xbox 360 controller.
Public StructureKeyboardStateRepresents a state of keystrokes recorded by a keyboard input device.
Public StructureMouseStateRepresents the state of a mouse input device, including mouse cursor position and buttons pressed.
Public StructureTouchCollectionProvides methods and properties for accessing state information for the touch screen of a Zune device.
Public StructureTouchCollection.EnumeratorProvides the ability to iterate through the touch locations in a TouchCollection.
Public StructureTouchLocationProvides methods and properties for interacting with a touch location on a touch screen device.
Public StructureTouchPanelCapabilitiesProvides access to information about the touch pad device.

NameDescription
Public EnumerationButtonsEnumerates input device buttons.
Public EnumerationButtonStateIdentifies the state of a controller button.
Public EnumerationGamePadDeadZoneSpecifies a type of dead zone processing to apply to Xbox 360 controller analog sticks when calling GetState.
Public EnumerationGamePadTypeDescribes the type of a specified Xbox 360 controller.
Public EnumerationKeysIdentifies a particular key on a keyboard.
Public EnumerationKeyStateIdentifies the state of a keyboard key.
Public EnumerationTouchLocationStateDefines the possible states for a touch location.

Community Additions

ADD
Show:
© 2016 Microsoft