• 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
Reading keyboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading keyboard


  • Subject: Reading keyboard
  • From: Renaud Boisjoly <email@hidden>
  • Date: Sun, 9 Jun 2002 16:38:28 -0400

Hi!

I understand we cannot create HotKeys in Cocoa, its a Carbon thig for now. But is there a way to simply Read the keyboard without it triggering anything?

All I want to do is within one of my methods (an NSTimer) I want to check if there is a key pressed.

I tried overriding KeyDown in my view but it only receives events when the app is in the foreground as soon as its in the background it stops receiving them.

Any ideas?

Thanks

Arby
_______________________________________________
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: Reading keyboard
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: Keyboard Events (From: Kyle Wheeler <email@hidden>)

  • Prev by Date: Re: Keyboard Events
  • Next by Date: Re: Reading keyboard
  • Previous by thread: Re: Keyboard Events
  • Next by thread: Re: Reading keyboard
  • Index(es):
    • Date
    • Thread