Difference between revisions of "IsKeyPressed"

11 bytes added ,  02:14, 20 December 2007
→‎Notes: A bit more specific on Win2k ini setting name
imported>Haama
(Deprecated)
imported>Haama
(→‎Notes: A bit more specific on Win2k ini setting name)
Line 91: Line 91:
   set curKey to <keyCode>
   set curKey to <keyCode>
endif</pre>
endif</pre>
* This function won't work correctly under Windows 2000 unless the .ini setting '''bBackgrounKeyboard''' is set to 1. You can use [[con_SetINISetting]] to do this (make sure to set it whenever the game is loaded).
* This function won't work correctly under Windows 2000 unless the .ini setting '''bBackground Keyboard:Controls''' is set to 1. You can use [[con_SetINISetting]] to do this (make sure to set it whenever the game is loaded).
* Will not detect keys force-pressed with [[TapKey]] or [[TapControl]] but will detect disabled keys.
* Will not detect keys force-pressed with [[TapKey]] or [[TapControl]] but will detect disabled keys.


Anonymous user