Loading...
Searching...
No Matches
sf::Event::KeyPressed Struct Reference
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? | |
Detailed Description
Member Data Documentation
◆ alt
| bool sf::Event::KeyPressed::alt {} |
◆ code
| Keyboard::Key sf::Event::KeyPressed::code {} |
◆ control
| bool sf::Event::KeyPressed::control {} |
◆ scancode
| Keyboard::Scancode sf::Event::KeyPressed::scancode {} |
◆ shift
| bool sf::Event::KeyPressed::shift {} |
◆ system
| bool sf::Event::KeyPressed::system {} |
The documentation for this struct was generated from the following file: