Psychtoolbox-3

Psychophysics Toolbox Version 3 (PTB-3) is a free set of Matlab and GNU Octave functions for vision and neuroscience research. It makes it easy to synthesize and show accurately controlled visual and auditory stimuli and interact with the observer. Some of its functionality is available as part of Python toolkits like PsychoPy. For commercial support and services visit www.psychtoolbox.net. Follow us on Twitter @psychtoolbox

  • Getting started
    • News
    • Overview
    • Versions
    • System Requirements
    • Download
  • Getting help
    • Beginner Tutorial
    • Function Reference
    • Paid Support
    • Community Forum
    • FAQ
  • Diving in
    • Contribute work or money to the project
    • Wiki
    • Bugs & Feature requests
    • Commercial services
    • Git repository
  • Paid Support
  • Community Forum
  • Automatic Installer
  • Download PTBZIP File

KbMapKey

>Psychtoolbox>PsychOneliners

q = KbMapKey(KeyNums
Checks if any of specified keys is depressed
input: vector of key numbers, keystate boolean vector as returned by e.g.
KbCheck.
output: boolean vector specifying true for every key when its depressed

SEE ALSO: KbCheck

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/KbMapKey.m

edit and fork this page on GitHub

Last updated on November 24, 2022