Difference between revisions of "GetKeyPress"
Added note on Messagebox usage
imported>Haama (Note on index) |
imported>Haama (Added note on Messagebox 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. | |||
{{DirectX Scancodes}} | {{DirectX Scancodes}} |