• 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: [Q] arrow key codes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] arrow key codes?


  • Subject: Re: [Q] arrow key codes?
  • From: JongAm Park <email@hidden>
  • Date: Wed, 17 May 2006 23:17:44 -0700

Thank you for the picture.

However, can you tell me what header file contains it?

Thank you.

dannyandmac wrote:
Hi:
    There is a image about mac keyboard key value.

------------------------------------------------------------------------


On May 18, 2006, at 2:06 PM, JongAm Park wrote:

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



--
±ºÀÚÀÇ ±³Á¦´Â ¹°Ã³·³ ´ã¹ÚÇϰí,  ¼ÒÀÎÀÇ ±³Á¦´Â ´Ü¼úó·³ ´ÞÄÞÇÏ´Ù.

   -- ¸í½Éº¸°¨ ±³¿ìÆí

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=++=+=+=+=
JongAm Park                   Home : http://my.dreamwiz.com/jongam
                              Blog : http://jongampark.blogspot.com
Tel)213-251-9592              MSN  : email@hidden
H.P)213-820-8943         AIM/iChat : JongAm
_______________________________________________
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


References: 
 >[Q] arrow key codes? (From: JongAm Park <email@hidden>)

  • Prev by Date: [Q] arrow key codes?
  • Next by Date: Re: How to get buttonType from NSButton
  • Previous by thread: [Q] arrow key codes?
  • Next by thread: Printing
  • Index(es):
    • Date
    • Thread