Euphoria
key.cc File Reference
#include "core/key.h"
#include <map>
#include "base/stringutils.h"

Go to the source code of this file.

Namespaces

 eu
 
 eu::core
 

Functions

std::string eu::core::to_string (Key k)
 
Key eu::core::to_key (const std::string &name)
 
std::string eu::core::to_string (MouseButton button)
 
MouseButton eu::core::to_mouse_button (const std::string &button)
 

Variable Documentation

◆ invalid_key

const T invalid_key

Definition at line 68 of file key.cc.

◆ key_to_string

std::map<T, std::string> key_to_string

Definition at line 67 of file key.cc.

◆ string_to_key

std::map<std::string, T> string_to_key

Definition at line 66 of file key.cc.

◆ unbound_key

const T unbound_key

Definition at line 69 of file key.cc.