up Inquisit Language Reference

leftX property

The position of the left gamepad along the x (left-right) axis.

Member of

<gamepad>

Syntax

gamepad.name.leftX

Read Only

Type

number

Remarks

The value runs from -1.0 to 1.0, with 0 representing the gamepad in the center position

Examples

The following displays the value of leftx the gamepad:

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

Copyright Millisecond Software, LLC. All rights reserved.