Difference between revisions of "GetKeyPress"
Jump to navigation
Jump to search
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. | ||
* | * 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}} |