up Inquisit Language Reference

lastEventButton property

A numeric identifier indicating which button on a Cedrus Response Pad was last pressed or released.

Member of

<xid>

Syntax

xid.name.lastEventButton

Read Only

Type

integer

Remarks

None.

Examples

The following defines a valid response as the release of button number 7:

<trial example>
/ isValidResponse = { return (xid.responsebox.lastEventButton == 7 && xid.responsebox.lastEventaction == 0);}
</trial>

Copyright Millisecond Software, LLC. All rights reserved.