• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Announcement (and question): OCSmart Hacks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Announcement (and question): OCSmart Hacks (From: Ondra Cada <email@hidden>)

  • Prev by Date: NSFormatter in Cocoa-Java
  • Next by Date: Re: Document Icons
  • Previous by thread: Re: Announcement (and question): OCSmart Hacks
  • Next by thread: Re: Announcement (and question): OCSmart Hacks
  • Index(es):
    • Date
    • Thread