v1.4 is released
New Features
Button response
Participants’ responses can be captured using buttons in addition to the mouse and keyboard. Set the response_type
property as 'button'.
Event handlers
You can specify the mouse/keyboard event handler. For example, you can make a program in which a participant change the luminance of a stimulus pressing the ArrowUp/ArrowDown key, and finish the trial pressing the space key.
clear_canvas property
If true (default), the canvas is cleared every frame. There are not many cases where this should be false, but if you want to draw the trajectory of the mouse, for example, you need to set it false.