Gorgon Game Engine
Gorgon::Input::Keyboard Namespace Reference

Keyboard related functions and enumerations. More...

Namespaces

 Keycodes
 

Classes

class  Modifier
 This class represents a modifier key. These keys can be. More...
 

Typedefs

typedef Gorgon::Char Char
 A Unicode character, use String::Append to append this character to an std::string. More...
 
typedef Gorgon::Input::Key Key
 A key on the keyboard. More...
 

Functions

bool operator!= (const Modifier &l, const Modifier &r)
 
bool operator== (const Modifier &l, const Modifier &r)
 

Variables

Modifier CurrentModifier
 Current keyboard modifier, this is a global value. More...
 
std::map< Key, bool > PressedKeys
 MOVETO -> Window? More...
 

Detailed Description

Keyboard related functions and enumerations.

Typedef Documentation

◆ Char

typedef Gorgon::Char Char

A Unicode character, use String::Append to append this character to an std::string.

◆ Key

A key on the keyboard.

Function Documentation

◆ operator!=()

bool Gorgon::Input::Keyboard::operator!= ( const Modifier l,
const Modifier r 
)

References Modifier::Key.

◆ operator==()

bool Gorgon::Input::Keyboard::operator== ( const Modifier l,
const Modifier r 
)

References Modifier::Key.

Variable Documentation

◆ CurrentModifier

Modifier CurrentModifier

Current keyboard modifier, this is a global value.

◆ PressedKeys

std::map<Key, bool> PressedKeys
extern

MOVETO -> Window?