Struct JoystickState
Namespace: UnityEngine.InputSystem.LowLevel
Syntax
public struct JoystickState : IInputStateTypeInfo
Fields
buttons
Declaration
public int buttons
Field Value
| Type | Description |
|---|---|
| System.Int32 |
stick
Declaration
public Vector2 stick
Field Value
| Type | Description |
|---|---|
| Vector2 |
Properties
kFormat
Declaration
public static FourCC kFormat { get; }
Property Value
| Type | Description |
|---|---|
| FourCC |
Methods
GetFormat()
Declaration
public FourCC GetFormat()
Returns
| Type | Description |
|---|---|
| FourCC |