Computer Science Canada

Keyboard keys

Author:  chalcids [ Fri Dec 16, 2011 5:42 pm ]
Post subject:  Keyboard keys

What are the rest of the code for the letter keys because the arrow keys are (KEY_DOWN_ARROW)

Author:  Tony [ Fri Dec 16, 2011 5:48 pm ]
Post subject:  RE:Keyboard keys

keycodes

Author:  chalcids [ Sat Dec 17, 2011 5:35 pm ]
Post subject:  RE:Keyboard keys

that doesn't help i need to know to do KEY_(something to use the key f)

Author:  Raknarg [ Sat Dec 17, 2011 5:50 pm ]
Post subject:  RE:Keyboard keys

('f')

make sure to use single quote marks

Author:  chalcids [ Sat Dec 17, 2011 5:55 pm ]
Post subject:  RE:Keyboard keys

so it would be KEY_'F'

Author:  Insectoid [ Sat Dec 17, 2011 6:05 pm ]
Post subject:  RE:Keyboard keys

No, just 'f'.

Author:  RandomLetters [ Sat Dec 17, 2011 9:44 pm ]
Post subject:  RE:Keyboard keys

KEY_DOWN_ARROW is just a number constant

when you call Input.KeyDown or something, and look at chars(KEY_DOWN_ARRAY) or chars('f') it's really the same as using chars(n) where n is a number from the chart Tony posted.


: