StaticgetReturns value of the specified input axis. Normally in range [-1.0, 1.0] but can be outside the range for devices with unbound axes (for example mouse).
Type of axis to query. Usually a type from InputAxis but can be a custom value.
OptionaldeviceIndex: numberIndex of the device in case more than one is hooked up (0 - primary).
StaticisQuery if the provided button is currently being pressed (only true for one frame).
Code of the button to query.
OptionaldeviceIndex: numberDevice to query the button on (0 - primary).
StaticisQuery if the provided button is currently being held (this frame or previous frames).
Code of the button to query.
OptionaldeviceIndex: numberDevice to query the button on (0 - primary).
StaticisQuery if the provided button is currently being released (only true for one frame).
Code of the button to query.
OptionaldeviceIndex: numberDevice to query the button on (0 - primary).
StaticisQuery if the provided pointer button is currently being pressed (only true for one frame).
Code of the button to query.
StaticisQuery if the provided pointer button is currently being held (this frame or previous frames).
Code of the button to query.
StaticisQuery if the provided pointer button is currently being released (only true for one frame).
Code of the button to query.
StaticisStatic ReadonlyonTriggered whenever a button is first pressed.
Static ReadonlyonTriggered whenever a button is first released.
Static ReadonlyonTriggered whenever user inputs a text character.
Static ReadonlyonTriggers when some pointing device (mouse cursor, touch) moves.
Static ReadonlyonTriggers when some pointing device (mouse cursor, touch) button is pressed.
Static ReadonlyonTriggers when some pointing device (mouse cursor, touch) button is released.
Static ReadonlyonTriggers when some pointing device (mouse cursor, touch) button is double clicked.
Static ReadonlyonAn event triggered whenever a new gamepad is added.
Static ReadonlyonAn event triggered whenever a new gamepad is removed.
Primary module used for dealing with input. Allows you to receieve and query raw or OS input for mouse/keyboard/gamepad.