OpenGL & Cocoa NSEvents
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.