[Q] arrow key codes?
[Q] arrow key codes?
- Subject: [Q] arrow key codes?
- From: JongAm Park <email@hidden>
- Date: Wed, 17 May 2006 23:06:20 -0700
Hello.
I would like to detect if arrow keys are pressed.
So, I used NSUpArrowFunctionKey, NSDownArrowFunctionKey, and so on.
However, if the key code is retrieved using [theEvent keyCode],
the keyCode is 0x7E when the arrow key is pressed, instead of 0xF700,
which is NSUpArrowFunctionkey.
I searched the Apple document if there is other set of constant values,
but I couldn't find them.
Can anyone explain me why it retrieves strange key codes and what the
correct constants are?
Thank you.
JongAm Park
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden