Click or drag to resize

IControllerTemplateDPad Interface

Interface for a Controller Template D-Pad. A D-Pad consists of 4 directional buttons and an optional press-in button.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface IControllerTemplateDPad : IControllerTemplateElement

The IControllerTemplateDPad type exposes the following members.

Properties
  NameDescription
Public propertydescriptiveName
Display name of the Controller Template Element.
(Inherited from IControllerTemplateElement.)
Public propertydown
The down button.
Public propertyexists
Does the Element exist in the parent Controller?
(Inherited from IControllerTemplateElement.)
Public propertyid
Id of the Controller Template Element.
(Inherited from IControllerTemplateElement.)
Public propertyleft
The left button.
Public propertypress
The press button.
Public propertyright
The right button.
Public propertysource
Information about the source element(s) in the parent Controller. This will return null for elements that cannot have a directly mappable source Controller Element.
(Inherited from IControllerTemplateElement.)
Public propertytype
Type of the Controller Template Element.
(Inherited from IControllerTemplateElement.)
Public propertyup
The up button.
Public propertyvalue
The current value of the D-Pad as a 2D axis.
Public propertyvaluePrev
The value of the D-Pad as a 2D axis in the previous frame.
Top
See Also