|
From: Lasse Kärkkäi. <tr...@us...> - 2010-01-13 00:52:26
|
Module: performous Branch: master Commit: 9801cb16a800fef3aa6980e612712b24e6d36c38 Author: Lasse Karkkainen <tro...@tr...> Date: Wed Jan 13 02:52:14 2010 +0200 Disable SDL key repeat to avoid bogus keypressed (need to implement it manually for functions that need repeating) --- game/video_driver.cc | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/game/video_driver.cc b/game/video_driver.cc index 5f6cc2d..5eb3625 100644 --- a/game/video_driver.cc +++ b/game/video_driver.cc @@ -34,7 +34,6 @@ Window::Window(unsigned int width, unsigned int height, bool fs): m_windowW(widt resize(); SDL_ShowCursor(SDL_DISABLE); SDL_EnableUNICODE(SDL_ENABLE); - SDL_EnableKeyRepeat(80, 80); input::SDL::init(); } |