up Inquisit Language Reference

button property

An array of boolean values indicating whether each button on the gamepad or joystick is pressed.

Member of

<gamepad> <joystick>

Syntax

object.name.button

Read Only

Type

array

Remarks

A value of zero indicates the button is not pressed. A nonzero value indicates the button is pressed. This is a list property with a maximum of 18 buttons on a gamepad and 32 buttons on a joystick.

Examples

The following displays the value of a button on the gamepad:

<page myPage>
position of button 10 = <% gamepad.button.10 %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.