DayZ 1.24
|
Functions | |
proto native int | KeyState (KeyCode key) |
proto native void | ClearKey (KeyCode key) |
Definition at line 156 of file EnSystem.c.
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(), WeaponDebug::OnCommandHandlerUpdate(), UIScriptedMenu::Update(), and ScriptConsoleItemsTab::Update().