From: Johnathan G. <da...@us...> - 2002-04-06 12:08:06
|
daren 2002/04/06 04:02:17 PST Modified files: gamekernel/drivers/sdl SdlDriver.cpp SdlDriver.h Log: Implemented a quick hack to work with DigitalInput and SDL both handling repeating Keyboard events, and with the input sample expecting this. SDL now calls the update function for the input twice when needed, which emulates a pseudo onIdle() handler. Revision Changes Path 1.9 +19 -3 lib/gamekernel/drivers/sdl/SdlDriver.cpp 1.7 +5 -4 lib/gamekernel/drivers/sdl/SdlDriver.h http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/drivers/sdl/SdlDriver.cpp.diff?r1=1.8&r2=1.9&diff_format=h http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/drivers/sdl/SdlDriver.h.diff?r1=1.6&r2=1.7&diff_format=h |