Capturing all the events in Full Screen Mode... Uhhh...
Capturing all the events in Full Screen Mode... Uhhh...
- Subject: Capturing all the events in Full Screen Mode... Uhhh...
- From: Alexandre Aybes <email@hidden>
- Date: Tue, 30 Oct 2001 13:18:39 +0100
Hi there,
I'm a Cocoa newbie, and I've been trying to write a little game for Mac
OS X... After fighting for a while with the fullscreen mode, I now have
another problem:
When I am in full screen mode to get the events I use
[NSApp currentEvent]; and then dispatch the events by hand to my
listeners...
My problem is that even though it seems to be working great for the
mouse, it keeps on beeping whenever I hit the keyboard, that makes me
think that the system is trying to dispatch the event and it doesn't
find anything to handle it, therefore it beeps.
So my question is:
How am I supposed to do that (I mean do it right), how am I supposed to
retrieve the events when I am in fullscreen mode? Should I put an
NSResponder on the NSApp, since I don't have a window to attach my
responder to?
Thanks!
Alex.