How to use the gyroscope (Tilt and Pivot) inputs for analog joystick control

The Z (and all successors) operates as a DirectInput joystick. So, its joystick outputs will only work natively in games with support for DirectInput.

We are currently developing native support for XInput from the Z3, although, exact dates for when this will be available is still to be confirmed.


For games that only support XInput, a third-party utility is required to translate DirectInput to XInput (e.g. Steam Input, X360ce).

To use your Z mouse like a joystick, map Analog Left/Right and Analog Forward/Back to control Joystick Axis X and Joystick Axis Y respectively. Both work with Expert View on or off.

  1. Pick the profile, then click the mouse's left or right tilt on the mouse picture. The tilt page lists Analog Left/Right.
    • Forward or back tilt lists Analog Forward/Back.
  2. Click its mapping bar to open the action library, open Joystick, and click Joystick Axis X.
  3. Do the same for Analog Forward/Back, with Joystick Axis Y.
  4. Click Save.

The gif below shows the first of these two mappings being created.

Picking Joystick Axis X for Analog Left/Right in Simple View

  • The axes are named as Windows names them: X Axis, Y Axis, Z Axis and Z Rotation.
  • Each axis also has a Reversed entry, for a game with no invert option of its own.

Once created, set the profile as active and use https://html5gamepad.com to check it's working. You should see Axis 0 and Axis 1 change as you tilt the mouse around.

Axis 0 and Axis 1 moving on html5gamepad.com as the mouse tilts

Tuning the tilt

Your mapping is now ready to be used, but you can also tune the min and max input angles of your tilt to control sensitivity and dead-zones, or adjust the output range if you want to limit the minimum or maximum output on any axis. Both are in Expert View.

  • Input angles: Click the analog input's name, for example Analog Left / Right. Set where the axis starts to move (Min) and where it reaches full (Max) for each direction.
    • Untick Mirror Left and Right to set each direction on its own.

The tilt angle range of an analog tilt input

  • Output range: Click the action's name to open its output, then tick Show Advanced. Set the output's Min and Max for each direction.
    • Change the axis with Joystick and Action.
    • Tick Reverse to turn the axis round.

A joystick axis output with Show Advanced on, and the axis and Reverse marked

Pivot

If you also want to map Pivot to Yaw, this works a bit differently. Since it's very difficult to move the mouse normally without also pivoting, pivot is not available as a base input. Instead it should be nested in another input, meaning you hold down a button to activate Pivot. These steps are with Expert View off.

  1. Pick the button you want to hold, for example Top Thumb, and set its action to Re-Zero Pivot from the action library (Mouse Settings > Tilt & Pivot).
  2. Click Add Input under it, choose Analog Tilt / Pivot, and set Axis to Pivot.
  3. Set the new input's action to a joystick axis, for example Joystick Axis Z Rotation.

Top Thumb set to Re-Zero Pivot, with an Analog Pivot nested under it set to Joystick Axis Z Rotation

The "Re-Zero Pivot" action on button press is strongly recommended, to ensure that your pivot always starts in a neutral position. Depending on your use case you may also want it on button release, so the pivot output does not remain active after you have released the button. See Input Nesting for more on nested inputs.

If you want to try and use Pivot as a base input, there is a workaround covered in the article below.
Enable Pivot without a parent input

Still need a hand? 💁‍♂️

If you can't find what you're looking for, reach out to our support team.