Back

Getting observer response

This example shows how to use keyboard event handling mechanisms of the psychWithJava package. See also General principles of event handling in FullScreen in the API documentation.

KeyPressTest

This program opens a Full Screen Exclusive Mode Window and tests key presses and their times.

Precompiled program

Precompiled program is in KeyPressTest.jar, which is a self running file. You can run it directly from your browser. Alternatively, you can save the file on your local disk and run it with a mouse click or you can run it from a terminal (MS DOS prompt) with the command java -jar KeyPressTest.jar. Note that running the jar file doesn't require installing the psychWithJava package. (see HelloPsychophysicist for more information on jar files).

File needed to build the project

Building and running the project

See HelloPsychophysicist for instructions on how to build and run java projects.

Description of the project

  • Pure Java version Coming soon...
  • Matlab version
  • Mathematica version