Skip to content

Instantly share code, notes, and snippets.

@eXpl0it3r
Created December 20, 2014 20:41
Show Gist options
  • Save eXpl0it3r/9aae76d5fff842c6f251 to your computer and use it in GitHub Desktop.
Save eXpl0it3r/9aae76d5fff842c6f251 to your computer and use it in GitHub Desktop.
Pressed
#include <SFML/Graphics.hpp>
#include <iostream>
int main()
{
while(true)
if(sf::Keyboard::isKeyPressed(sf::Keyboard::Up))
std::cout << "test" << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment