Click or drag to resize

IControllerTemplateThumbStick Interface

Interface for a Controller Template Thumb Stick. A Thumb Stick has 2 axes and an optional button. This is used for gamepad sticks.

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

The IControllerTemplateThumbStick type exposes the following members.

Properties
  NameDescription
Public propertydescriptiveName
Display name of the Controller Template Element.
(Inherited from IControllerTemplateElement.)
Public propertyexists
Does the Element exist in the parent Controller?
(Inherited from IControllerTemplateElement.)
Public propertyhorizontal
The horizontal axis.
Public propertyid
Id of the Controller Template Element.
(Inherited from IControllerTemplateElement.)
Public propertypress
The stick press 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 propertyvalue
The current value of the thumb stick.
Public propertyvaluePrev
The value of the thumb stick in the previous frame.
Public propertyvertical
The vertical axis.
Top
See Also