• 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
OpenGL & Cocoa NSEvents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenGL & Cocoa NSEvents


  • Subject: OpenGL & Cocoa NSEvents
  • From: Aaron Boothello <email@hidden>
  • Date: Sun, 19 Jan 2003 14:47:43 -0500

im writing an application using OpenGL and Cocoa (OSX Application, not
a game).
this is the decleration for handling mouseDown events.

- (void)mouseDown:(NSEvent *)theEvent;

it only responds to left-mouse Down, i would like to be able to detect
right-mouse clicks.(refering to NSEvent type, and it only responds when
type = 1 (ie:leftmousedown))
i would also like to know how i can detect when keyboards buttons are
pressed (like the shift, control, delete key, etc)
an online tutorial would be great as well.
Thanks,
Aaron.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: OpenGL & Cocoa NSEvents
      • From: Robert Goldsmith <email@hidden>
  • Prev by Date: Re: UUID Generation in Cocoa
  • Next by Date: Re: NSOpenGLView with transparent background
  • Previous by thread: Re: Is a file used by another application?
  • Next by thread: Re: OpenGL & Cocoa NSEvents
  • Index(es):
    • Date
    • Thread