Difference between revisions of "IsKeyPressed"
Jump to navigation
Jump to search
→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 ''' | * 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. | ||