PsychHID(‘NumDevices’)

Psychtoolbox>PsychHID.{mex*} subfunction

numberOfDevices=PsychHID(‘NumDevices’)

Return the the number of USB HID devices connected to your computer.

###See also: