• 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
Capturing all the events in Full Screen Mode... Uhhh...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • File Server Mode in OS X
      • From: Charles Bennett <email@hidden>
    • Re: Capturing all the events in Full Screen Mode... Uhhh...
      • From: Ondra Cada <email@hidden>
    • Re: Capturing all the events in Full Screen Mode... Uhhh...
      • From: Troy Dawson <email@hidden>
  • Prev by Date: Re: Context menu for minimised window
  • Next by Date: Stupid newbie question
  • Previous by thread: Re: Undomanager and deallocate
  • Next by thread: Re: Capturing all the events in Full Screen Mode... Uhhh...
  • Index(es):
    • Date
    • Thread