25 #ifndef SFML_KEYBOARD_HPP
26 #define SFML_KEYBOARD_HPP
31 #include <SFML/Window/Export.hpp>
158 BackSpace = Backspace,
159 BackSlash = Backslash,
160 SemiColon = Semicolon,
Give access to the real-time state of the keyboard.
static bool isKeyPressed(Key key)
Check if a key is pressed.
@ Numpad1
The numpad 1 key.
@ PageDown
The Page down key.
@ Numpad8
The numpad 8 key.
@ LShift
The left Shift key.
@ RControl
The right Control key.
@ Numpad9
The numpad 9 key.
@ Numpad7
The numpad 7 key.
@ Enter
The Enter/Return keys.
@ Hyphen
The - key (hyphen)
@ RShift
The right Shift key.
@ Numpad4
The numpad 4 key.
@ Subtract
The - key (minus, usually from numpad)
@ LSystem
The left OS specific key: window (Windows and Linux), apple (MacOS X), ...
@ Numpad2
The numpad 2 key.
@ Numpad5
The numpad 5 key.
@ KeyCount
Keep last – the total number of keyboard keys.
@ Backspace
The Backspace key.
@ Numpad6
The numpad 6 key.
@ Numpad3
The numpad 3 key.
@ RSystem
The right OS specific key: window (Windows and Linux), apple (MacOS X), ...
@ LControl
The left Control key.
@ Numpad0
The numpad 0 key.
static void setVirtualKeyboardVisible(bool visible)
Show or hide the virtual keyboard.