Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sfml keyboard events cpp

if (event.type == sf::Event::KeyPressed)
    if (event.key.code == sf::Keyboard::Escape)
        window.close();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sfml #keyboard #events #cpp
ADD COMMENT
Topic
Name
1+7 =