#include "irrlichttypes.h"#include <Keycodes.h>#include <IEventReceiver.h>#include <string>#include <variant>#include <vector>
Include dependency graph for keycode.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | KeyPress |
| struct | std::hash< KeyPress > |
Macros | |
| #define | EscapeKey KeyPress::getSpecialKey("KEY_ESCAPE") |
| #define | LMBKey KeyPress::getSpecialKey("KEY_LBUTTON") |
| #define | MMBKey KeyPress::getSpecialKey("KEY_MBUTTON") |
| #define | RMBKey KeyPress::getSpecialKey("KEY_RBUTTON") |
Functions | |
| const std::vector< KeyPress > & | getKeySetting (const std::string &settingname) |
| bool | keySettingHasMatch (const std::string &settingname, KeyPress kp) |
| void | clearKeyCache () |
| #define EscapeKey KeyPress::getSpecialKey("KEY_ESCAPE") |
| #define LMBKey KeyPress::getSpecialKey("KEY_LBUTTON") |
Referenced by GUIButtonKey::OnEvent(), and MyEventReceiver::OnEvent().
| #define MMBKey KeyPress::getSpecialKey("KEY_MBUTTON") |
Referenced by GUIButtonKey::OnEvent(), and MyEventReceiver::OnEvent().
| #define RMBKey KeyPress::getSpecialKey("KEY_RBUTTON") |
Referenced by GUIButtonKey::OnEvent(), and MyEventReceiver::OnEvent().
| void clearKeyCache | ( | ) |
References g_key_setting_cache.
Referenced by MyEventReceiver::reloadKeybindings().
Here is the caller graph for this function:| const std::vector< KeyPress > & getKeySetting | ( | const std::string & | settingname | ) |
References g_key_setting_cache, g_settings, Settings::get(), str_split(), and warningstream.
Referenced by id_to_keypress(), keySettingHasMatch(), and MyEventReceiver::reloadKeybindings().
Here is the call graph for this function:
Here is the caller graph for this function:| bool keySettingHasMatch | ( | const std::string & | settingname, |
| KeyPress | kp ) |
References CONTAINS, and getKeySetting().
Referenced by GUIChatConsole::OnEvent(), GUIFormSpecMenu::OnEvent(), MyEventReceiver::OnEvent(), and GUIFormSpecMenu::preprocessEvent().
Here is the call graph for this function:
Here is the caller graph for this function: