This sample demonstrates the methods used to collect multiple mouse or keyboard responses via a single Input object, and how to collect individual reaction times (as well as other statistics) for each individual mouse click or key press.
This sample experiment illustrates how to collect multiple Mouse, Keyboard, SRBox, or Joystick
A 'TextDisplay' object is used on each Procedure to display the stimulus. The device used to present the stimulus has its 'Max Count' property set to 2.
After the subject responds, an InLine script object uses a 'ResponseData' variable to access information (i.e. RT, cursor position, etc) about each individual key or button press. This information is stored in an attribute using the c.SetAttrib command and referenced later in the corresponding 'Statistics' object.
The joystick used must be recognized by Windows as a joystick/gamepad or Human Interface Device (HID). Additionally, verify that the SRBox device is configured to use the proper COM/LPT port (if using the SRBox sample).