InputAxis

Parent Table
Revision 2017.3060
Keywords InputAxis, device, input, axis
See also InputDevice

Overview

Provides information about one analog axis input belonging to an InputDevice, such as an x-axis or y-axis of a joystick, a gamepad's left or right analog trigger, etc. The main usage of this object is to acquire the minimum and maximum values that the axis can provide in order to make sense of its data.

This information can also be used to identify an input device's capabilities if the axis type is known. For example, you can use this to confirm that an analog joystick is available when an x-axis and y-axis input are found.

Gotchas

Input axis information is not provided on Windows Phone.

Properties

object.type