IInputService Properties |
The IInputService type exposes the following members.
Name | Description | |
---|---|---|
AccelerometerValue |
Gets the accelerometer value.
(Only available in XNA Windows Phone builds.)
| |
Commands |
Gets the input commands.
| |
EnableMouseCentering |
Gets or sets a value indicating whether the mouse position is reset in each frame.
| |
Gestures |
Gets the detected touch gestures. (Not available in Silverlight.)
| |
IsAccelerometerActive |
Gets a value indicating whether an accelerometer is connected and can be used.
(Only available in XNA Windows Phone builds.)
| |
IsAccelerometerHandled |
Gets or sets a value indicating whether accelerometer input has already been handled.
| |
IsKeyboardHandled |
Gets or sets a value indicating whether keyboard input has already been handled.
| |
IsMouseOrTouchHandled |
Gets or sets a value indicating whether mouse or touch input has already been handled.
| |
KeyboardState |
Gets the state of the current keyboard state.
| |
MaxNumberOfPlayers |
Gets the max number of players (= max number of game controllers that can be connected).
| |
ModifierKeys |
Gets the pressed modifier keys.
| |
MousePosition |
Gets or sets the mouse position.
| |
MousePositionDelta |
Gets or sets the mouse position change since the last frame.
| |
MousePositionDeltaRaw |
Gets the raw mouse position change since the last frame.
| |
MousePositionRaw |
Gets the raw mouse position.
| |
MouseState |
Gets the state of the current mouse state.
| |
MouseWheelDelta |
Gets a value representing the rotation change of the mouse wheel.
| |
PressedKeys |
Gets the pressed keys.
| |
PreviousKeyboardState |
Gets the keyboard state of the last frame.
| |
PreviousMouseState |
Gets the mouse state of the last frame.
| |
Settings |
Gets or sets the settings that define input handling, timing, etc.
| |
TouchCollection |
Gets the touch collection. (Not available in Silverlight.)
|