Author |
Message |
chalcids
|
Posted: 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) |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Tony

|
|
|
|
 |
chalcids
|
Posted: 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) |
|
|
|
|
 |
Raknarg

|
Posted: Sat Dec 17, 2011 5:50 pm Post subject: RE:Keyboard keys |
|
|
('f')
make sure to use single quote marks |
|
|
|
|
 |
chalcids
|
Posted: Sat Dec 17, 2011 5:55 pm Post subject: RE:Keyboard keys |
|
|
so it would be KEY_'F' |
|
|
|
|
 |
Insectoid

|
Posted: Sat Dec 17, 2011 6:05 pm Post subject: RE:Keyboard keys |
|
|
No, just 'f'. |
|
|
|
|
 |
RandomLetters
|
Posted: 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. |
|
|
|
|
 |
|