Click or drag to resize

ControllerDirectionalPad Class

A directional pad is a compound element made up of 4 individual buttons.
Inheritance Hierarchy
SystemObject
  RewiredControllerCompoundElement
    RewiredControllerDirectionalPad

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class DirectionalPad : ControllerCompoundElement

The ControllerDirectionalPad type exposes the following members.

Properties
  NameDescription
Public propertybuttonDown
The button for the down direction. This value may be null if no button is assigned.
Public propertybuttonLeft
The button for the left direction. This value may be null if no button is assigned.
Public propertybuttonRight
The button for the right direction. This value may be null if no button is assigned.
Public propertyButtons
Gets the list of member buttons. There is one entry for each possible direction button. Entries may be null if no button is assigned to a direction. The order of the buttons starts at up and rotates clockwise.
Public propertybuttonUp
The button for the up direction. This value may be null if no button is assigned.
Public propertyelementCapacity
The maximum number of member Buttons.
(Overrides ControllerCompoundElementelementCapacity.)
Public propertyelementCount
The number of member elements in this compound element.
(Inherited from ControllerCompoundElement.)
Public propertyelementIdentifier
The controller element identifier.
(Inherited from ControllerCompoundElement.)
Public propertyhasElements
Does this compound element have any member elements?
(Inherited from ControllerCompoundElement.)
Public propertyid
The element identifier id.
(Inherited from ControllerCompoundElement.)
Public propertyname
The name of this element.
(Inherited from ControllerCompoundElement.)
Public propertytype
The type of this element.
(Inherited from ControllerCompoundElement.)
Top
See Also