- Home /
Question by
hijackjave · Aug 17, 2010 at 03:04 AM ·
keyboardkey
How to get the "Command" hold down on Mac OS?
Hi, I want to catch the key code of the "Command" on Mac OS, but I can not know the keycode of it , I use the "Input.GetKey()" to catch it, who can tell me the keycode of the "Command"?
Thx
Comment
Answer by hijackjave · Aug 17, 2010 at 03:31 AM
use Input.GetKey(KeyCode.LeftApple)
I just reported this as a bug. The "Apple key" died three years ago.
Your answer
Follow this Question
Related Questions
No keyboard events detected after any key is held. 0 Answers
problem whit input key 2 Answers
Can keyboard shortcuts using Command key, etc. be disabled on Mac OS X? 1 Answer
Back button issue: when I use back button to close keyboard, it also close the scene. 2 Answers
Unity 4.6.3f1 bug or normal behaviour? MouseButtonDown cancelled/ ignored by key press 0 Answers