Add raw input and direction change