up Inquisit Language Reference

lasteventaction property

Indicates whether a button was released or pressed on a Cedrus Response Pad.

Member of

<xid>

Remarks

This property returns 1 if the button was pressed, or 0 if the button was released or the event was generated from a TTL signal rather than a button.

Examples

The following defines any button press as a valid response:

<trial example>
/ isvalidresponse = [xid.responsebox.lasteventaction == 1]
</trial>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.