A button or single-axis input device which can return a range of values like the shoulder triggers.
Esempio n. 1
0
        internal Xbox360GamePad(PlayerIndex playerIndex)
        {
            for (int i = 0; i < mLastButtonPush.Length; i++)
            {
                mLastButtonPush[i] = -1;
            }


            mPlayerIndex = playerIndex;
            mLeftStick = new AnalogStick();
            mRightStick = new AnalogStick();

            mLeftTrigger = new AnalogButton();
            mRightTrigger = new AnalogButton();
        }