Mouse with 1, 2 or 3 buttons
Mouse with 1, 2 or 3 buttons
- Subject: Mouse with 1, 2 or 3 buttons
- From: Lorenzo <email@hidden>
- Date: Sat, 09 Apr 2005 12:13:28 +0200
Hi,
I would like to detect how many buttons the current mouse has, and if it has
got the wheel. So, for instance, I can program:
1. if the mouse has one button only, the user has to press the mouse
button and hold down the Control key to do the action "A".
2. if the mouse has 2 buttons, the user can press the right button
to do the action "A". So he can press the left button + Control key
to do the action "B".
Is a way to detect that? Is this approach correct? Thank you.
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden