The XInput type exposes the following members.

Methods

  NameDescription
AddDefaultActions
Adds the default acions to the action map. SGP.XSpace..::.XInput..::.DefaultActionId
ConfigureActionMapOverloaded.
Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)
Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)
GetCurrentJoystickState
Gets current state of the first connected joystick. JoystickState
GetCurrentKeyboardState
Gets current keyboard state. KeyboardState
GetHashCode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

(Inherited from Object.)
GetType

Gets the Type of the current instance.

(Inherited from Object.)
Initialize
The DirectX Input interface initialization.
LoadFFEffectsOverloaded.
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
PlayFFEffect
Replays the joystick force feedback effect.
PlayFFEffects
Replays the joystick force feedback effects array.
SetActionMapOverloaded.
ToString

Returns a String that represents the current Object.

(Inherited from Object.)

Fields

  NameDescription
AxisMax
The maximal coordinate value for absolute sensors (joystick).
AxisMin
The minimal coordinate value for absolute sensors (joystick).
DefaultActionMapGuid
GUID of the default action map.

Properties

  NameDescription
ActionMap
Gets current action map.
AxisDeadZoneThreshold
Relative value (in hundredths of a percent) of the dead zone for the absolute sensors (e.g. joystick). The dead zone value defines the relative treshold of the rest position from where the sensor will be returning value different to the 0, it means that if the the sensor will be in the rest position, it will return 0 until the position has been changed just by value in percent. If you set 0 or too small value, it is possible that the sensor won't be returning the zero value.
AxisSaturationThreshold
Relative value (in hundredths of a percent) of the coordinates saturation for the absolute sensors (e.g. joystick). The saturation value defines the relative treshold of the extreme position of the sensor where the sensor will return the maximal or the minimal value, it meas that if the sensor will be set to the one of the utmost position, it will return the AxisMax or the AxisMin until the position will be changed just by value in percent. If you set 0 or some too small value, it is possible that the sensor won't be returning the values in the maximal range.
DefaultActionMap
Default action map.
Joystick
Gets first connected joystick device.
Keyboard
Gets the keyboard device.
Mouse
Gets the mouse device.

Events

  NameDescription
Action
Is called when any of the devices sends some of the mapped action.

See Also