Wrap in condition to check if event was a physical input to prevent polled events from firing