Firstborn/Library/PackageCache/com.unity.inputsystem@1.5.1/Documentation~/Joystick.md
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

1.5 KiB

Joystick support

The Input System currently has limited support for joysticks as generic HIDs only. The system attempts to identify Controls based on the information provided in the HID descriptor of the Device, but it might not always be accurate. These Devices often work best when you allow the user to manually remap the Controls.

To better support specific joysticks Devices, you can also provide your own custom mappings for those Devices. Unity might extend the Input System to include some mappings for common devices in the future. See the manual page on HID for more information.

Controls

The Input System supports Generic HID Input Devices which are recognized as joysticks via the Joystick class. Joystick Devices can have any number of Controls as reported by the Device's HID descriptor, but the Input System always tries to at least match these common Controls:

Control Type Description
stick StickControl The main stick of the joystick.
trigger ButtonControl The primary trigger of the joystick.