up Inquisit Language Reference

inputdevice attribute

The inputdevice attribute determines the inputdevice subjects use to advance through series of instruction pages.

Member of

<instruct>

Syntax

/ inputdevice = modality

Parameters

modality One of the following values:
Value Description
keyboard Responses are defined as key-presses on the computer’s keyboard.
mouse Responses are defined as mouse clicks on target stimuli, by clicking a particular button or moving the mouse in a particular direction.
mousekey Same as mouse except that the mouse cursor is not visible.
touchscreen Responses are defined as touching a target stimulus presented on a monitor equipped with a touchscreen system.
com<n> Responses are defined a serial port signal, where n specifies the port number (e.g., COM1, COM2, COM3, ...).
xid<n> Responses are defined as a XID protocol signal from a Cedrus Response Box on the serial port, where n specifies the port number (e.g., XID1, XID2, XID3, ...).
lpt<n> Responses are defined as a parallel port signal, where n specifies the port number (e.g., LPT1, LPT2, LPT3, ...).

Remarks

If keyboard, serialport1, serialport2, lpt1, or lpt2 are selected, the specific keys/values to navigate backwards and forwards through the pages are specified by the PrevKey and NextKey attributes, respectively. If mouse is specified, the mouse cursor will be visible on the screen and subject may click on the forward and backward buttons.

Examples

The following sets the default input device for instruction pages to the COM2 serial port:

<instruct>
/ inputdevice = com2
</instruct>

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