I am making a small game, but as I play the game longer and longer, the keydown event seems to make more and more lag until it freezes.
To be specific about why I am suspecting that it is the KeyDown event, the lag happens when I press a key (NOTE: This lag does NOT occur with the space bar, function keys, modifier keys, Insert, Home, PgUp, PgDown, Delete, and End keys). Pressing a second key while the lag is occurring stops the lag for a split second, with the rare occasion that it stops the lag entirely, although the cause of that is as of yet unknown.