Options for Input.KeyDown?
Author |
Message |
AzureFire
![](http://compsci.ca/v3/uploads/user_avatars/144210120463a831da922a.png)
|
Posted: Sun May 07, 2006 10:02 pm Post subject: Options for Input.KeyDown? |
|
|
Hey, I'm messing around with key bindings and I wanted to know what all of the available options were for Input.KeyDown()
I know that you can do something like this;
and
But what about buttons like Escape and Enter, can they be detected? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sun May 07, 2006 10:28 pm Post subject: (No subject) |
|
|
yes, every key can be detected.
You can look up all the constants in Turing's Help Manual, under Input.KeyDown (F10)
Additally I think you could generate an inverse of key's ASCII value to use
chr(number) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
AzureFire
![](http://compsci.ca/v3/uploads/user_avatars/144210120463a831da922a.png)
|
Posted: Mon May 08, 2006 7:06 am Post subject: (No subject) |
|
|
Ah, ok. When I looked in the help file all I saw was what I posted above, I missed the part about the appendix. It was a little burried, but I found it .
Thanks Tony. |
|
|
|
|
![](images/spacer.gif) |
codemage
![](http://usera.imagecave.com/codemage/codemage-small.gif)
|
Posted: Mon May 08, 2006 8:11 am Post subject: (No subject) |
|
|
The list is under "keyboard" in the Turing help reference. |
|
|
|
|
![](images/spacer.gif) |
|
|