up Inquisit Language Reference

x property

The horizontal coordinate of the gamepad.

Member of

<gamepad> <joystick>

Syntax

object.name.x

Read Only

Type

number

Remarks

The value runs from -1000 to 1000, with 0 representing the joystick or gamepad in the center position

Examples

The following displays the value of x for the gamepad:

<page myPage>
gamepad x position = <% gamepad.x %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.