Key¶ convert_to_intent(event: pygame.event) → Optional[InputIntentType][source]¶ Convert input to an intent.