hi Graham,

in my case i have to implement a scripting language that receives the key
names like

"up"
"f12"
"shift"
"home"

etc. so i agree it is strange but i need to know the physical key presses

its like a video game problem....


thx

bill




On Fri, Apr 30, 2010 at 7:15 AM, Graham Cox <graham....@bigpond.com> wrote:

>
> On 01/05/2010, at 12:12 AM, Bill Appleton wrote:
>
> > what is the best way on cocoa to determin raw key (physical key) input?
> >
>
>
> I don't know, but I wonder if this is the right question. If you look at
> the methods of NSResponder, you'll see that most functional keys are
> detected and converted to specific methods that you can override. Would that
> not be the better way to handle these? That's what I've always done in all
> my Cocoa apps.
>
> --Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to