# mouse buttons with windows

**URL:** <https://psychtoolbox.discourse.group/t/mouse-buttons-with-windows/774>\
**Category:** Uncategorized\
**Created:** [February 19, 2001, 6:07pm UTC](https://psychtoolbox.discourse.group/t/mouse-buttons-with-windows/774 "2001-02-19T18:07:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [February 19, 2001, 6:07pm UTC](https://psychtoolbox.discourse.group/t/mouse-buttons-with-windows/774/1 "2001-02-19T18:07:22Z")

</div>

Hi All,  
  
Is there a way to get the identity of a mouse press (1 or 2) in the   
windows version?  
  
Sincerely,  
  
Yoav.

---

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [February 21, 2001, 10:45pm UTC](https://psychtoolbox.discourse.group/t/mouse-buttons-with-windows/774/2 "2001-02-21T22:45:21Z")

</div>

[yarieh@...](mailto:yarieh@...) wrote:  
  

> \> ...  
> \> Is there a way to get the identity of a mouse press (1 or 2) in the  
> \> windows version?

Yes. The left mouse button returns 1, the right mouse button -1.  
  
 Allen  
  
  
  
  
  
  
[yarieh@...](mailto:yarieh@...) wrote:  
  

> \> Hi All,  
> \>  
> \> Is there a way to get the identity of a mouse press (1 or 2) in the  
> \> windows version?  
> \>  
> \> Sincerely,  
> \>  
> \> Yoav.  
> \>  
> \>  
> \> To Post a message, send it to: [psychtoolbox@...](mailto:psychtoolbox@...)  
> \>  
> \> To Unsubscribe, send a blank message to: [psychtoolbox-unsubscribe@...](mailto:psychtoolbox-unsubscribe@...)  
> \>  
> \> psychtoolbox web site: [http://color.psych.ucsb.edu/psychtoolbox/](http://color.psych.ucsb.edu/psychtoolbox/)
