Difference between revisions of "AMOSi:Key State"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) m (1 revision(s)) |
(No difference)
|
Latest revision as of 01:51, 17 November 2007
an example can be found on AMOSPro_Examples:Examples/H-4/Help_43.AMOS
Tests a specific key to see if it has been pressed by the user. A value of -1 indicates that the key has been hit.
Test=Keystate(scancode)
If Key State(69) Then Print "Escape pressed"