Namespace UnityEngine.InputSystem.Controls
Classes
AnyKeyControl
A control that simply checks the entire state it's been assigned for whether there's any non-zero bytes. If there are, the control returns 1.0; otherwise it returns 0.0.
AxisControl
A floating-point axis control.
ButtonControl
An axis that has a trigger point beyond which it is considered to be pressed.
DiscreteButtonControl
A button that is considered pressed if the underlying state has a value in the specific range.
DoubleControl
A control reading a
DpadControl
A control made up of four discrete, directional buttons. Forms a vector but can also be addressed as individual buttons.
DpadControl.DpadAxisControl
IntegerControl
A generic input control reading integer values.
KeyControl
A key on a Keyboard.
QuaternionControl
A generic input control reading quaternion (rotation) values.
StickControl
A two-axis thumbstick control that can act as both a vector and a four-way dpad.
TouchControl
A control representing a touch contact.
TouchPhaseControl
A control reading a TouchPhase value.
TouchPressControl
A button that reads its pressed state from phase.
Vector2Control
A floating-point 2D vector control composed of two AxisControls.
Vector3Control
A floating-point 3D vector control composed of three AxisControl.
Enums
AxisControl.Clamp
Clamping behavior for an axis control.
DiscreteButtonControl.WriteMode
How WriteValueIntoState(Single, Void*) should behave.