Refactored input to honor tilts.