[mouseIndices, productNames, allInfo] =
GetMouseIndices([typeOnly])
PsychHID assigns each USB HID device connected to you computer a unique
index.
GetMouseIndices returns the indices for those HID devices which
are mouses. The product names of the mouses are returned in a second
argument which is useful to identify the mouse associated with a
paticular index. For complete information on a gampad use
PsychHID('Devices').
GetMouseIndices allows selection of different types of pointing devices
via the optional 'typeOnly' argument:
'masterPointer' will only return indices of so called "master pointer"
devices. These correspond to visible mouse cursors.
GetMouseIndices works as on OS X.
see also:
GetKeyboardIndices,
GetKeypadIndices,
GetGamepadIndices
Psychtoolbox/PsychHardware/GetMouseIndices.m