Click or drag to resize

IControllerTemplateHat Interface

Interface for a Controller Template Hat. A Hat is an 8-directional switch. This is commonly used on flight sticks.

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

The IControllerTemplateHat 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 propertydownLeft
The down-left button.
Public propertydownRight
The down-right 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 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 propertyupLeft
The up-left button.
Public propertyupRight
The up-right button.
Public propertyvalue
The current value of the Hat as a 2D axis.
Public propertyvaluePrev
The value of the Hat as a 2D axis in the previous frame.
Top
See Also