Difference between revisions of "GetKeyPress"

Jump to navigation Jump to search
82 bytes added ,  19:40, 24 October 2007
More specifics on MenuMode usage
imported>Haama
(Added note on Messagebox usage)
imported>Haama
(More specifics on MenuMode usage)
Line 12: Line 12:
* 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.
* This function doesn't return a value while a [[MessageBox]] is being displayed, presumably because input is switched over to the MessageBox.
* During a MenuMode, any key that has a function in that menu (i.e., the arrow keys in the Container Menu or [[MessageBox]] menu) will no longer be registered, presumably because its input is switched over to the MessageBox.


{{DirectX Scancodes}}
{{DirectX Scancodes}}
Anonymous user

Navigation menu