=== modified file 'plugins/input/keyboard/keyboard.cpp' --- plugins/input/keyboard/keyboard.cpp 2008-07-19 12:35:09 +0000 +++ plugins/input/keyboard/keyboard.cpp 2009-03-07 23:38:20 +0000 @@ -90,7 +90,10 @@ return 0; if (ret == 1) return ret; - SDL_Delay(10); + if (suspended) + mmsSleep(1); + else + mmsUsleep(10*1000); } return 0; }