Key pressed event subtype.
More...
#include <SFML/Window/Event.hpp>
Key pressed event subtype.
Definition at line 96 of file Event.hpp.
◆ alt
bool sf::Event::KeyPressed::alt {} |
Is the Alt key pressed?
Definition at line 100 of file Event.hpp.
◆ code
Code of the key that has been pressed.
Definition at line 98 of file Event.hpp.
◆ control
bool sf::Event::KeyPressed::control {} |
Is the Control key pressed?
Definition at line 101 of file Event.hpp.
◆ scancode
Physical code of the key that has been pressed.
Definition at line 99 of file Event.hpp.
◆ shift
bool sf::Event::KeyPressed::shift {} |
Is the Shift key pressed?
Definition at line 102 of file Event.hpp.
◆ system
bool sf::Event::KeyPressed::system {} |
Is the System key pressed?
Definition at line 103 of file Event.hpp.
The documentation for this struct was generated from the following file: