Frame-based input handling