![]() |
Gamedev Framework (gf)
0.3.0
A C++11 framework for 2D games
|
Some keyboard related functions. More...
#include <gf/Keyboard.h>
Public Member Functions | |
| Keyboard ()=delete | |
| Deleted constructor. More... | |
Static Public Member Functions | |
| static const char * | getScancodeName (Scancode scancode) |
| Get the representation of a scancode. More... | |
| static Scancode | getScancodeFromName (const char *name) |
| Get the scancode associated to a name. More... | |
| static const char * | getKeycodeName (Keycode keycode) |
| Get the representation of a keycode. More... | |
| static Keycode | getKeycodeFromName (const char *name) |
| Get the keycode associated to a name. More... | |
Some keyboard related functions.
|
delete |
Deleted constructor.
|
static |
Get the keycode associated to a name.
| name | The name of the keycode |
|
static |
Get the representation of a keycode.
| keycode | The keycode |
|
static |
Get the scancode associated to a name.
| name | The name of the scancode |
|
static |
Get the representation of a scancode.
| scancode | The scancode |
1.8.8