27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
264 #ifndef DOXYGEN_SHOULD_SKIP_THIS
265 constexpr int getKeycodeFromScancode(
Scancode scancode) {
266 return static_cast<
int>(scancode) | (1 << 30);
516 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Some keyboard related functions.
Definition: Keyboard.h:492
Keyboard()=delete
Deleted constructor.
bool control
Is the Control key pressed?
Definition: Keyboard.h:37
static const char * getKeycodeName(Keycode keycode)
Get the representation of a keycode.
static const char * getScancodeName(Scancode scancode)
Get the representation of a scancode.
bool shift
Is the Shift key pressed?
Definition: Keyboard.h:36
Scancode
Scancodes.
Definition: Keyboard.h:48
State of modifiers.
Definition: Keyboard.h:35
bool alt
Is the Alt key pressed?
Definition: Keyboard.h:38
bool super
Is the Super key pressed?
Definition: Keyboard.h:39
#define GF_API
Definition: Portability.h:35
Keycode
Keycodes.
Definition: Keyboard.h:274