public void LoadProfile(string profile) { if (Profile == profile.ToUpper(CultureInfo.InvariantCulture)) { return; } Profile = profile.ToUpper(CultureInfo.InvariantCulture); inputProfile = InputManager.GetProfile(Profile); }
public InputHandler(PlayerIndex playerIndex) { PlayerIndex = playerIndex; inputProfile = InputManager.GetProfile("Basic"); gamePad = new GamePad(PlayerIndex); }