Structure storing the current state of a gamepad's buttons
示例#1
0
        internal PlayerInput(PlayerIndex index)
        {
            PlayerIndex = index;
            DeadZone    = GamePadDeadZone.IndependentAxes;

            InputTriggers    = new InputTriggers();
            InputThumbSticks = new InputThumbSticks();
            InputButtons     = new InputButtons();
        }
示例#2
0
        internal PlayerInput(PlayerIndex index)
        {
            PlayerIndex = index;
            DeadZone = GamePadDeadZone.IndependentAxes;

            InputTriggers = new InputTriggers();
            InputThumbSticks = new InputThumbSticks();
            InputButtons = new InputButtons();
        }