Work on joystick/gamepad input polling.

git-svn-id: http://mancubus.net/svn/hosted/eternity/trunk@2402 86ba831e-150c-0410-ab35-e06eaae15ed9