コード例 #1
0
        //

        public ForceFeedbackController(JoystickInputDevice device)
        {
            this.device       = device;
            effectsAsReadOnly = new ReadOnlyCollection <ForceFeedbackEffect>(effects);

            int forceFeedbackEffectTypesCount = Enum.GetValues(typeof(ForceFeedbackEffectTypes)).Length;

            supportedEffects = new bool[forceFeedbackEffectTypesCount];
        }
コード例 #2
0
 public JoystickInputEvent(InputDevice device)
     : base(device)
 {
     this.device = (JoystickInputDevice)device;
 }
コード例 #3
0
 internal WindowsXBoxForceFeedbackController(JoystickInputDevice joystick)
     : base(joystick)
 {
 }