Minetest 5.9.0-dev
 
Loading...
Searching...
No Matches
keycode.h File Reference
#include "exceptions.h"
#include "irrlichttypes.h"
#include <Keycodes.h>
#include <IEventReceiver.h>
#include <string>
+ 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  UnknownKeycode
 
class  KeyPress
 

Functions

const KeyPressgetKeySetting (const char *settingname)
 
void clearKeyCache ()
 
irr::EKEY_CODE keyname_to_keycode (const char *name)
 

Variables

const KeyPress EscapeKey
 
const KeyPress CancelKey
 
const KeyPress LMBKey
 
const KeyPress MMBKey
 
const KeyPress RMBKey
 

Function Documentation

◆ clearKeyCache()

void clearKeyCache ( )

References g_key_setting_cache.

Referenced by GUIKeyChangeMenu::acceptInput().

+ Here is the caller graph for this function:

◆ getKeySetting()

const KeyPress & getKeySetting ( const char *  settingname)

References g_key_setting_cache, g_settings, and Settings::get().

Referenced by GUIKeyChangeMenu::add_key(), GUIChatConsole::OnEvent(), GUIFormSpecMenu::OnEvent(), KeyCache::populate(), GUIFormSpecMenu::preprocessEvent(), and RandomInputHandler::step().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keyname_to_keycode()

irr::EKEY_CODE keyname_to_keycode ( const char *  name)

References table_key::Key, and lookup_keyname().

Referenced by id_to_keycode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ CancelKey

const KeyPress CancelKey
extern

◆ EscapeKey

const KeyPress EscapeKey
extern

◆ LMBKey

const KeyPress LMBKey
extern

◆ MMBKey

const KeyPress MMBKey
extern

◆ RMBKey

const KeyPress RMBKey
extern