Input improvements for SDL 2.0