Scripting API

Joystick

class in UnityEngine.InputSystem · Unity.InputSystem · inherits from InputDevice

Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix

A joystick as Unity's base layout has it: a trigger and a stick (a hat switch and twist only on joysticks whose layouts add them).

Constructors 1

Properties 6

static ReadOnlyArray<Joystick> all { get; }
static Joystick? current { get; }
Vector2Control? hatswitch { get; }
StickControl stick { get; }
ButtonControl trigger { get; }
AxisControl? twist { get; }

Methods 1

void MakeCurrent()