• 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
Re: Special keystrokes recording
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special keystrokes recording


  • Subject: Re: Special keystrokes recording
  • From: JuL <email@hidden>
  • Date: Sat, 10 Jan 2004 03:11:12 +0100

Hello,

Thanks, that half-solved my problem :-)
In fact i'm doing

SetSystemUIMode(kUIModeContentHidden,
kUIOptionDisableProcessSwitch
| kUIOptionDisableForceQuit);

like it's said on the technote about kiosk, but the problem if that I still don't get the event on my window :'(
In fact this function seems to affect the behaviour of the special keystrokes, but does not affect their privileged ownership, and still catch the event with a very high priority..
Regards,
JuL

Hello...

You might want to do a search for "kiosk" in the various places to search for info, since that topic covers similar issues to the ones you are facing.

I'm pretty sure there was an official technote about kiosks, as well as some sample code. If you go to http://developer.apple.com and do a search it should pull it up.

Also, blocking special key combinations is likely a frequent topic on the mac-games-dev mailing list, so you might also want to check that list's archive as well.

Hope that helps,

Louis

Hello,

For making a vnc-like app, I would like to record all keystrokes. To do this, I created a window and implemented the sendEvent: method. Everything works fine, except for very special keystrokes like command-tab or command-alt-esc.
I have conducted some research and found out that these keystrokes are reserved by the system using private functions such as CPSRegisterForKey, etc..
So, as you may have guessed, my problem is to find a solution to get these special key events. I have read that you have to kill the Dock and quickly register the key combo with the private function, but that is not a good solution and this only works for cmd-tab.
In a lot of games, the cmd-tab does not work and they surely do not kill the dock. So, surely there must be a good way to do that.

Thanks for your help !

Julien
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Special keystrokes recording (From: JuL <email@hidden>)
 >Re: Special keystrokes recording (From: "Louis C. Sacha" <email@hidden>)

  • Prev by Date: Re: Collection classes
  • Next by Date: FW: InterfaceBuilder problem
  • Previous by thread: Re: Special keystrokes recording
  • Next by thread: Re: vImage
  • Index(es):
    • Date
    • Thread