[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "DisableKey"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith (disabled keys and other functions) |
imported>Scruggs |
||
Line 18: | Line 18: | ||
*DirectX scancodes are typically in hexadecimal, but this function takes decimal values. | *DirectX scancodes are typically in hexadecimal, but this function takes decimal values. | ||
*As well as the normal DX scancodes, you can use the numbers 256 to 263 to stop mouse button presses, and also 264 and 265 for mouse wheel movement. | *As well as the normal DX scancodes, you can use the numbers 256 to 263 to stop mouse button presses, and also 264 and 265 for mouse wheel movement. | ||
*[[IsKeyPressed]] will still work with Disabled keys, but [[IsKeyPressed2]] will not, unless [[TapKey]], which does work, was used the previous frame. [[HoldKey]], [[HammerKey]], and [[AHammerKey]] will not function while the key is disabled, but will begin to function immediately after [[EnableKey]] is used if they are not turned off by their respective functions before then. | *[[IsKeyPressed]] will still work with Disabled keys, but [[IsKeyPressed2]] will not, unless [[TapKey]], which does work, was used the previous frame. [[HoldKey]], [[HammerKey]], and [[AHammerKey]] will not function while the key is disabled, but will begin to function immediately after [[EnableKey]] is used if they are not turned off by their respective functions before then. Disabled mouse buttons will continue to be detected by [[IsKeyPressed2]]. | ||
{{DirectX Scancodes}} | {{DirectX Scancodes}} |