kbName - mouse function?

Dear all,

I would like to use the mouse buttons as response keys
and thought that I could simply use kbName ('left_mouse')
respectively kbName ('right_mouse'); at least I used it in
a script before; but this time it doesn't work, whereas keyboard keys work
fine ....
is this something new in PTB-3?
but this argument appears in kbName.m ...
what do I do wrong?
can someone please help me?

Thanks a lot in advance!

Judith

On which OS did this work?

Anway: "help GetMouse" or "help GetClicks",
e.g.,

GetClicks; [x y buttons] = GetMouse;

--- In psychtoolbox@yahoogroups.com, "Judith My Lin Lam" <judithmylinlam@...> wrote:
>
> Dear all,
>
> I would like to use the mouse buttons as response keys
> and thought that I could simply use kbName ('left_mouse')
> respectively kbName ('right_mouse'); at least I used it in
> a script before; but this time it doesn't work, whereas keyboard keys work
> fine ....
> is this something new in PTB-3?
> but this argument appears in kbName.m ...
> what do I do wrong?
> can someone please help me?
>
> Thanks a lot in advance!
>
> Judith
>