Difference between revisions of "GetKeyPress"

102 bytes added ,  16:47, 3 August 2008
no edit summary
imported>Quetzilla
imported>Quetzilla
 
Line 9: Line 9:


* Index starts at 0 for the first key, 1 for the second, etc.
* Index starts at 0 for the first key, 1 for the second, etc.
* This function will not pick up mouse buttons.
* This function will pick up keys disabled using [[DisableKey]].
* This function will not pick up mouse buttons. Use [[GetMouseButtonPress]] instead.
* This function will return the scancode of a key for the whole period it is held down, and not just the first frame.
* This function will return the scancode of a key for the whole period it is held down, and not just the first frame.
* If no keys are being held down, or if the id you give is greater than the number of keys being held down, this function will return 65535.
* If no keys are being held down, or if the id you give is greater than the number of keys being held down, this function will return 65535.
Anonymous user