Docs @ Psychtoolbox Wiki : Devices

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

PsychHID('Devices')

PsychtoolboxPsychHID.{mex*,dll} subfunction

Usage
devices=PsychHID('Devices' [, deviceClass])

Return a struct array describing each connected USB HID device.
'deviceClass' optionally selects for the class of input device. This is not
supported on all operating systems and will be silently ignored if unsupported.
On Linux you can select the following classes of input devices: 1 =
MasterPointer, 2 = MasterKeyboard, 3 = SlavePointer 4 = SlaveKeyboard, 5 =
Floating slave device.
Not all device properties are returned on all operating systems. A zero, empty
or -1 value for a property in the returned structs can mean that the information
could not be returned.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0977 seconds