Class NimbusGamepadHid
Steel Series Nimbus+ uses iOSGameController MFI when on iOS but is just a standard HID on OSX. Note that the gamepad is made available with incorrect VID/PID by OSX instead of the true VID/PID registred with USB.org for this device.
Inherited Members
Namespace: UnityEngine.InputSystem.OSX
Assembly: Unity.InputSystem.dll
Syntax
[Preserve]
public class NimbusGamepadHid : Gamepad, IDualMotorRumble, IHaptics
Properties
homeButton
The center button in the middle section of the controller.
Declaration
public ButtonControl homeButton { get; protected set; }
Property Value
Type | Description |
---|---|
ButtonControl |
Remarks
Note that this button is also picked up by OS.
Methods
FinishSetup()
Perform final initialization tasks after the control hierarchy has been put into place.
Declaration
protected override void FinishSetup()
Overrides
Remarks
This method can be overridden to perform control- or device-specific setup work. The most common use case is for looking up child controls and storing them in local getters.
public class MyDevice : InputDevice
{
public ButtonControl button { get; private set; }
public AxisControl axis { get; private set; }
protected override void OnFinishSetup()
{
// Cache controls in getters.
button = GetChildControl("button");
axis = GetChildControl("axis");
}
}</code></pre></example>