commit b7b2dccd7382c93f9a69900c58dc176d55555005 parent 11716eaeda727dd2f74e8640b087a79029aae3e4 Author: Yoann <yoann.b87@voila.fr> Date: Mon, 28 Nov 2011 19:33:49 +0100 Ajout de la répétition de touches. Diffstat:
| M | view.cpp | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/view.cpp b/view.cpp @@ -102,6 +102,7 @@ void View::renderScene() { void View::mainLoop() { short continuer = 1; SDL_Event event; + SDL_EnableKeyRepeat(100,100); while (continuer) { while ( SDL_PollEvent(&event) ) {