Click or drag to resize

ControllerPollingInfo Properties

The ControllerPollingInfo type exposes the following members.

Properties
  NameDescription
Public propertyaxisPole
The pole of the axis that was activated (+/-). This is only relevant if elementType is Axis.
Public propertycontroller
The controller that returned input.
Public propertycontrollerId
The id of the controller that returned input.
Public propertycontrollerName
The name of the controller that returned input.
Public propertycontrollerType
The type of the controller that returned input.
Public propertyelementIdentifier
The controller element identifier that returned input.
Public propertyelementIdentifierId
The id of the element identifier on the controller that returned input. This points back to the human-readable element identifier on a controller such as Left Stick X. This is used when creating an ActionElementMap in a ControllerMap to associate a controller element with an Action.
Public propertyelementIdentifierName
The name of the element identifier on the controller that returned input. This gives you the human-readable name of the element such as Left Stick X -.
Public propertyelementIndex
The index to the controller element that returned input. In combination with controllerType, this can be used to determine the exact button or axis index.
Public propertyelementType
The type of element on the controller that returned input.
Public propertykeyboardKey
The keyboard key that returned input. This is only valid if controllerType is Keyboard.
Public propertyplayer
The Player that generated this input. This value is only valid if the controller is assigned to a Player and polling was called on or through Player.
Public propertyplayerId
The player id that generated this input. This value is only valid if the controller is assigned to a Player and polling was called on or through Player.
Public propertysuccess
Was user input detected? If false, no user input was detected.
Top
See Also