Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Key pressed event subtype. More...
#include <SFML/Window/Event.hpp>
Public Attributes | |
Keyboard::Key | code {} |
Code of the key that has been pressed. | |
Keyboard::Scancode | scancode {} |
Physical code of the key that has been pressed. | |
bool | alt {} |
Is the Alt key pressed? | |
bool | control {} |
Is the Control key pressed? | |
bool | shift {} |
Is the Shift key pressed? | |
bool | system {} |
Is the System key pressed? |
Keyboard::Key sf::Event::KeyPressed::code {} |
bool sf::Event::KeyPressed::control {} |
Keyboard::Scancode sf::Event::KeyPressed::scancode {} |
bool sf::Event::KeyPressed::shift {} |
bool sf::Event::KeyPressed::system {} |