I should additionally mention that the logic in the above patch might not be flawless --- i.e., the addition of the else clause in _input_event_handler might be a bit off -- but the overall theme of the patch should point you in the correct direction.
I should additionally mention that the logic in the above patch might not be flawless --- i.e., the addition of the else clause in _input_ event_handler might be a bit off -- but the overall theme of the patch should point you in the correct direction.