Difference between revisions of "GetKeyPress"

Jump to navigation Jump to search
11 bytes added ,  17:27, 19 October 2007
Fixed syntax
imported>WereWolf
imported>Haama
(Fixed syntax)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  GetKeyPress id
  (dxScanCode:long) GetKeyPress whichIndex:long


Returns the scancode of a key which is currently being pressed. If multiple keys are being pressed, the id parameter can be used to choose between them.
Returns the dx scancode of the key being pressed. If multiple keys are being pressed, use whichIndex to choose which code to return.


==Notes==
==Notes==
Anonymous user

Navigation menu