Difference between revisions of "GetControl"

125 bytes added ,  06:07, 24 August 2006
Value is only set on gamestart
imported>Timeslip
m
imported>JOG
(Value is only set on gamestart)
* This function returns a DirectX scancode between 0 and 255. If there is no key bound to the requested control, or if the requested control is not valid, it will return 65535. (-1, if read as a short)
* If you want to know which mouse button, if any, is bound to a control, use [[GetAltControl]].
* When a control is changed, this function (as in v0007) does not return the new value until you exit and restart the game.
 
 
==Control IDs==
Anonymous user