Docs @ Psychtoolbox Wiki : GetMouseIndices

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

GetMouseIndices

PsychtoolboxPsychHardware

[mouseIndices, productNames, allInfo] = GetMouseIndices([typeOnly])

OS X


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').

LINUX


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.

WINDOWS


GetMouseIndices works as on OS X.


see also: GetKeyboardIndices, GetKeypadIndices, GetGamepadIndices




Path   Retrieve current version of GetMouseIndices.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychHardware/GetMouseIndices.m


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