Re: Announcement (and question): OCSmart Hacks
Re: Announcement (and question): OCSmart Hacks
- Subject: Re: Announcement (and question): OCSmart Hacks
- From: Andreas Monitzer <email@hidden>
- Date: Mon, 26 Nov 2001 18:07:51 +0100
On Monday, November 26, 2001, at 12:15 , Ondra Cada wrote:
Well, anyone can buy a cheap Logitech for that -- agreed that it's not
so
nice as the Apple thing, but much more useable, with two buttons and
roller... ;) As for a third button, never tried that; current
documentation
says "there's no support".
There are system defined events sent for all 63 buttons of your mouse
(you might have less :).
XDarwin uses them, so does Quake 3. Check the archive of macosx-
email@hidden, I think somebody from Omni explained it once.
Or you could just subclass NSApplication's -sendEvent: and log all
events, then press the other buttons. data1 and data2 are important for
getting the button number.
andy