Updated Polling

Updated the keyboard/joystick polling.