Click or drag to resize
DigitalRuneIInputService Properties

The IInputService type exposes the following members.

Properties
  NameDescription
Public propertyAccelerometerValue
Gets the accelerometer value. (Only available in XNA Windows Phone builds.)
Public propertyCommands
Gets the input commands.
Public propertyEnableMouseCentering
Gets or sets a value indicating whether the mouse position is reset in each frame.
Public propertyGestures
Gets the detected touch gestures. (Not available in Silverlight.)
Public propertyIsAccelerometerActive
Gets a value indicating whether an accelerometer is connected and can be used. (Only available in XNA Windows Phone builds.)
Public propertyIsAccelerometerHandled
Gets or sets a value indicating whether accelerometer input has already been handled.
Public propertyIsKeyboardHandled
Gets or sets a value indicating whether keyboard input has already been handled.
Public propertyIsMouseOrTouchHandled
Gets or sets a value indicating whether mouse or touch input has already been handled.
Public propertyKeyboardState
Gets the state of the current keyboard state.
Public propertyMaxNumberOfPlayers
Gets the max number of players (= max number of game controllers that can be connected).
Public propertyModifierKeys
Gets the pressed modifier keys.
Public propertyMousePosition
Gets or sets the mouse position.
Public propertyMousePositionDelta
Gets or sets the mouse position change since the last frame.
Public propertyMousePositionDeltaRaw
Gets the raw mouse position change since the last frame.
Public propertyMousePositionRaw
Gets the raw mouse position.
Public propertyMouseState
Gets the state of the current mouse state.
Public propertyMouseWheelDelta
Gets a value representing the rotation change of the mouse wheel.
Public propertyPressedKeys
Gets the pressed keys.
Public propertyPreviousKeyboardState
Gets the keyboard state of the last frame.
Public propertyPreviousMouseState
Gets the mouse state of the last frame.
Public propertySettings
Gets or sets the settings that define input handling, timing, etc.
Public propertyTouchCollection
Gets the touch collection. (Not available in Silverlight.)
Top
See Also