25 #include "Portability.h" 28 #ifndef DOXYGEN_SHOULD_SKIP_THIS 38 enum class Mod : unsigned {
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS 57 struct EnableBitmaskOperators<
Modifiers> {
58 static constexpr
bool value =
true;
287 #ifndef DOXYGEN_SHOULD_SKIP_THIS 289 constexpr
int getKeycodeFromScancode(
Scancode scancode) {
290 return static_cast<int>(scancode) | (1 << 30);
293 #endif // DOXYGEN_SHOULD_SKIP_THIS 525 static const char *getScancodeName(
Scancode scancode);
534 static Scancode getScancodeFromName(
const char *name);
543 static const char *getKeycodeName(
Keycode keycode);
552 static Keycode getKeycodeFromName(
const char *name);
561 #ifndef DOXYGEN_SHOULD_SKIP_THIS 566 #endif // GF_KEYBOARD_H
Some keyboard related functions.
Definition: Keyboard.h:517
Is the Super key pressed?
Scancode
Scancodes.
Definition: Keyboard.h:70
Is the Shift key pressed?
A physical control.
Definition: Control.h:38
The namespace for gf classes.
Definition: Action.h:34
Mod
Modifier enumeration.
Definition: Keyboard.h:38
Keycode
Keycodes.
Definition: Keyboard.h:299