Moved input code from Player to PlayerController