[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
→Notes: console key cannot be disabled
imported>Haama (Removed ToC) |
imported>EggDropSoap (→Notes: console key cannot be disabled) |
||
Line 17: | Line 17: | ||
*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. Disabled mouse buttons will continue to be detected by [[IsKeyPressed2]]. | *[[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]]. | ||
*The console key ("~", scancode 41) cannot be disabled. | |||
{{DirectX Scancodes}} | {{DirectX Scancodes}} |