psychopy_ext.exp.Task.idle_event

Task.idle_event(draw_stim=True)[source]

Default idle function for an event.

Sits idle catching default keys (exit and trigger).

Kwargs:
draw_stim (bool, default: True)

Controls if stimuli should be drawn or have already been drawn (useful if you only want to redefine the drawing bit of this function).

Returns:

A list of tuples with a key name (str) and a response time (float).