28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 enum class Mod :
unsigned {
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
53 struct EnableBitmaskOperators<Modifiers> {
54 static constexpr bool value =
true;
283 #ifndef DOXYGEN_SHOULD_SKIP_THIS
284 constexpr int getKeycodeFromScancode(
Scancode scancode) {
285 return static_cast<
int>(scancode) | (1 << 30);
555 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Bitfield relying on an enumeration.
Definition: Flags.h:68
Some keyboard related functions.
Definition: Keyboard.h:511
Keyboard()=delete
Deleted constructor.
Is the Control key pressed?
static Scancode getScancodeFromName(const char *name)
Get the scancode associated to a name.
static const char * getKeycodeName(Keycode keycode)
Get the representation of a keycode.
static const char * getScancodeName(Scancode scancode)
Get the representation of a scancode.
Is the Super key pressed?
Scancode
Scancodes.
Definition: Keyboard.h:66
Is the Shift key pressed?
static Keycode getKeycodeFromName(const char *name)
Get the keycode associated to a name.
#define GF_API
Definition: Portability.h:35
Mod
Modifier enumeration.
Definition: Keyboard.h:36
Keycode
Keycodes.
Definition: Keyboard.h:293