Useful poll method added to Keyboard class.