## Input
Mouse or Touch Screen

The "Mouse or Touch Screen" option can be used for detecting input using the computer mouse. For USB mice, the timing resolution is generally about 10-14 milliseconds. On Windows, if using a PS2 mouse, the timing resolution is about 16-36 milliseconds. If using a touch screen, the resolution depends on the touch screen manufacturer's hardware and software driver. If all you need to detect is when a mouse key has been pressed, you can achieve much better timing resolution using the Microsoft Serial Mouse device.

### Responses

SuperLab automatically creates two responses, one for each mouse button. You can edit or delete them. A response can consist of a key press or a key release, and can be a specific area on the screen:

The Anywhere on the screen and Specific area settings are self-explanatory, but often the most convenient and powerful setting is Automatically determined by the position of the visual stimulus. By enabling it, you avoid the need to make sure that the response area and the visual stimulus superimpose exactly -- SuperLab does it for you.

### Available Options

The following options are available for the "Mouse or Touch Screen" input device:

- Ignore the key release: If your experiment needs a response that consists of a key release, this option should be turned off. Otherwise it is a good idea to keep this option turned on.

- Wait until the key is released: When this option is turned on, SuperLab will not advance to the next event or the next trial (depending on which sub-option is selected) until the participant has released the mouse key.

- Look for Input From Mouse or Touch Screen: This option is generally useful when using more than one input device in the same experiment, and is particularly useful when that other input happens to be “Keyboard-String Input”. If you select the “For all events” setting, SuperLab will always look for a mouse or touch screen input from participants. This will cause a conflict if you also want participants to be able to edit the words or sentences that they type in the string input's edit field.

- Show mouse cursor: If turned off, SuperLab will hide the mouse cursor. This is practical when using a touch screen.

- Ignore a mouse click unless it falls inside an area defined as a response: If this feature is not enabled, then a mouse click on any area of the screen is considered a response.

### See Also

- Microsoft Serial Mouse input