Loading...
Searching...
No Matches
sf::Event::KeyEvent Struct Reference
Keyboard event parameters (KeyPressed, KeyReleased) 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
◆ code
| Keyboard::Key sf::Event::KeyEvent::code |
◆ control
| bool sf::Event::KeyEvent::control |
◆ scancode
| Keyboard::Scancode sf::Event::KeyEvent::scancode |
◆ shift
◆ system
| bool sf::Event::KeyEvent::system |
The documentation for this struct was generated from the following file: