On Dec 10, 2008, at 2:39 PM, Eric Gorr wrote:
On Dec 10, 2008, at 2:28 PM, Michael Ash wrote:
On Wed, Dec 10, 2008 at 12:43 PM, Eric Gorr <[EMAIL PROTECTED]>
wrote:
One way to check to see if the enter key has been pressed is to:
[theEvent keyCode] == 0x04C
where 0x04C is the keyCode cor
I'm certain he means:
Physical key: actual key on keyboard that was pressed (may be
independent of the letter/word/symbol on the key face)
Logical key: this would map to the letter/word/symbol on the key
face, regardless of physical placement on the board
HTH,
Peace, Love, and Light,
On Dec 10, 2008, at 2:28 PM, Michael Ash wrote:
On Wed, Dec 10, 2008 at 12:43 PM, Eric Gorr <[EMAIL PROTECTED]>
wrote:
One way to check to see if the enter key has been pressed is to:
[theEvent keyCode] == 0x04C
where 0x04C is the keyCode corresponding to the enter key.
(Is there an Apple d
On Wed, Dec 10, 2008 at 12:43 PM, Eric Gorr <[EMAIL PROTECTED]> wrote:
> One way to check to see if the enter key has been pressed is to:
>
> [theEvent keyCode] == 0x04C
>
> where 0x04C is the keyCode corresponding to the enter key.
> (Is there an Apple defined constant for this key code?)
>
>
>
>
I would go for the second one. I would guess that the second one would
pick up all the various Enter keys, whereas the first would only pick
up a single key. The second also looks much more elegant to me. I do
not have any experience with this; I am merely saying what looks best
from my poi
On Dec 10, 2008, at 11:43 AM, Eric Gorr wrote:
One way to check to see if the enter key has been pressed is to:
[theEvent keyCode] == 0x04C
where 0x04C is the keyCode corresponding to the enter key.
(Is there an Apple defined constant for this key code?)
kVK_ANSI_KeypadEnter
but it's only d
One way to check to see if the enter key has been pressed is to:
[theEvent keyCode] == 0x04C
where 0x04C is the keyCode corresponding to the enter key.
(Is there an Apple defined constant for this key code?)
Another way, found at:
http://developer.apple.com/samplecode/TrackBall/listing9.html