![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Functions | |
| proto native void | ClearKey (KeyCode key) |
| Clears the key state. | |
| proto native int | KeyState (KeyCode key) |
| Gets key state. | |
| enum KeyCode |
Definition at line 156 of file ensystem.c.
| 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(), ScriptConsoleCameraTab::Update(), ScriptConsoleTabBase::Update(), UIScriptedMenu::Update(), and Update().