Gorgon Game Engine
Keyboard.h File Reference
Include dependency graph for Keyboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Input
 This namespace contains general input related functionality.
 
 Gorgon::Input::Keyboard
 Keyboard related functions and enumerations.
 
 Gorgon::Input::Keyboard::Keycodes
 

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

std::string GetName (Key key)
 Returns the name of the key. More...
 
constexpr bool IsEnter (Key key)
 Returns if the key is an enter key. More...
 
constexpr bool IsModifier (Key key)
 Returns if the given key is a known modifier. More...
 
bool operator!= (const Modifier &l, const Modifier &r)
 
bool operator== (const Modifier &l, const Modifier &r)
 

Variables

constexpr Key A
 
constexpr Key Alt
 
constexpr Key B
 
constexpr Key Backspace
 
constexpr Key C
 
constexpr Key CapsLock
 
constexpr Key Control
 
constexpr Key D
 
constexpr Key Delete
 
constexpr Key Down
 
constexpr Key E
 
constexpr Key End
 
constexpr Key Enter
 
constexpr Key Escape
 
constexpr Key F
 
constexpr Key F1
 
constexpr Key F10
 
constexpr Key F11
 
constexpr Key F12
 
constexpr Key F2
 
constexpr Key F3
 
constexpr Key F4
 
constexpr Key F5
 
constexpr Key F6
 
constexpr Key F7
 
constexpr Key F8
 
constexpr Key F9
 
constexpr Key G
 
constexpr Key H
 
constexpr Key Home
 
constexpr Key I
 
constexpr Key Insert
 
constexpr Key J
 
constexpr Key K
 
constexpr Key L
 
constexpr Key Left
 
constexpr Key M
 
constexpr Key Menu
 
constexpr Key Meta
 
constexpr Key N
 
constexpr Key Number_0
 
constexpr Key Number_1
 
constexpr Key Number_2
 
constexpr Key Number_3
 
constexpr Key Number_4
 
constexpr Key Number_5
 
constexpr Key Number_6
 
constexpr Key Number_7
 
constexpr Key Number_8
 
constexpr Key Number_9
 
constexpr Key Numlock
 
constexpr Key Numpad_0
 
constexpr Key Numpad_1
 
constexpr Key Numpad_2
 
constexpr Key Numpad_3
 
constexpr Key Numpad_4
 
constexpr Key Numpad_5
 
constexpr Key Numpad_6
 
constexpr Key Numpad_7
 
constexpr Key Numpad_8
 
constexpr Key Numpad_9
 
constexpr Key Numpad_Decimal
 
constexpr Key Numpad_Div
 
constexpr Key Numpad_Enter
 
constexpr Key Numpad_Minus
 
constexpr Key Numpad_Mult
 
constexpr Key Numpad_Plus
 
constexpr Key O
 
constexpr Key OSTransport
 Keycodes that are transported from OS. More...
 
constexpr Key P
 
constexpr Key PageDown
 
constexpr Key PageUp
 
constexpr Key Pause
 
std::map< Key, bool > PressedKeys
 MOVETO -> Window? More...
 
constexpr Key PrintScreen
 
constexpr Key Q
 
constexpr Key R
 
constexpr Key RAlt
 
constexpr Key RControl
 
constexpr Key Right
 
constexpr Key RMeta
 
constexpr Key RShift
 
constexpr Key S
 
constexpr Key ScrollLock
 
constexpr Key Shift
 
constexpr Key Space
 
constexpr Key T
 
constexpr Key Tab
 
constexpr Key U
 
constexpr Key Up
 
constexpr Key V
 
constexpr Key W
 
constexpr Key X
 
constexpr Key Y
 
constexpr Key Z