Get player moving left and right with keyboard input