示例#1
0
        public void LoadProfile(string profile)
        {
            if (Profile == profile.ToUpper(CultureInfo.InvariantCulture))
            {
                return;
            }

            Profile      = profile.ToUpper(CultureInfo.InvariantCulture);
            inputProfile = InputManager.GetProfile(Profile);
        }
示例#2
0
 public InputHandler(PlayerIndex playerIndex)
 {
     PlayerIndex  = playerIndex;
     inputProfile = InputManager.GetProfile("Basic");
     gamePad      = new GamePad(PlayerIndex);
 }