Functions | |
proto native int | KeyState (KeyCode key) |
proto native void | ClearKey (KeyCode key) |
enum KeyCode |
proto native void ClearKey | ( | KeyCode | key | ) |
Clears the key state. Call this function if you want to overcome autorepeating in reporting key state. If called, the KeyState returns pressed only after the key is released and pressed again.
Referenced by PluginDayzPlayerDebug_Weapons::CommandHandler(), WeaponDebug::OnCommandHandlerUpdate(), and UIScriptedMenu::Update().
Gets key state
key | Key code |
Referenced by PluginDayzPlayerDebug_Weapons::CommandHandler(), ScriptConsoleSoundsTab::HandleKeys(), PluginBase::IsKeyPressed(), OnChange(), WeaponDebug::OnCommandHandlerUpdate(), UIScriptedMenu::Update(), ScriptConsoleCameraTab::Update(), ScriptConsoleTabBase::Update(), and Update().