Gameport.sys is a small driver that samples the game port about 10 times per second.  It also checks and debounces the switches.