David Burr, daveb@...
Denis forwarded your question to me. I am copying my reply to the
psychtoolbox forum, in case anyone there has something helpful to add.
GetMouse worked when I was using it on Windows 98. Last week I
noticed that it was not detecting button presses under Windows2000.
I have been working on that problem, I hope to have a fix within the
next few days.
GetClicks works under windows 2000 and is a suitable substitute for
GetMouse in some applications. GetClicks, unlike GetMouse, waits for
a click. Note that John Schlerf uncovered a bug in GetClicks
(http://groups.yahoo.com/group/psychtoolbox/message/470), which is
that it fails if you use SCREENOpenWindow to change the bit depth of
the display. However, that bug is easy to avoid.
Best,
Allen
> Also, can you confirm that your getmouse does not work on the PC? ItDave,
> should
> give [x, y, button], but button is always zero. Do any of the mouse
> routines
> detect a button press on the PC (I need it for a touchscreen)? This sort
> of
> stuff is a nightmare with matlab (GUIs etc, that you cannot escape from).
>
Denis forwarded your question to me. I am copying my reply to the
psychtoolbox forum, in case anyone there has something helpful to add.
GetMouse worked when I was using it on Windows 98. Last week I
noticed that it was not detecting button presses under Windows2000.
I have been working on that problem, I hope to have a fix within the
next few days.
GetClicks works under windows 2000 and is a suitable substitute for
GetMouse in some applications. GetClicks, unlike GetMouse, waits for
a click. Note that John Schlerf uncovered a bug in GetClicks
(http://groups.yahoo.com/group/psychtoolbox/message/470), which is
that it fails if you use SCREENOpenWindow to change the bit depth of
the display. However, that bug is easy to avoid.
Best,
Allen