Joystick Support
The Input System currently has limited support for joysticks as generic HID controls only. It will make a best effort to identify controls based on the information provided by the HID descriptor of the device, but that may not always be accurate. These devices often work best when allowing the user to manually manually remap the controls.
To offer better support for specific joysticks devices, you can also provide your own custom mappings for those devices. We hope to offer some mappings for common devices as part of the Input System package in the future. See the manual page on HID for more information.
Controls
Generic HID input devices which are recognized as joysticks are supported via the Joystick
class. Joystick devices may have any number of controls as reported by the devices HID descriptor, but we always try to match at least these common controls:
Control | Type | Description |
---|---|---|
stick |
StickControl |
The main stick of the joystick. |
trigger |
ButtonControl |
The primary trigger of the joystick. |