GameInputForceFeedbackMotorInfo
Defines the force-feedback motor information.Syntax
Members
supportedAxesType: GameInputFeedbackAxes Supported axes that the force-feedback motor can apply force. isConstantEffectSupported
Type: bool Denotes whether a constant force-feedback effect is supported. isRampEffectSupported
Type: bool Denotes whether a ramp force-feedback effect is supported. isSineWaveEffectSupported
Type: bool Denotes whether a sine wave force-feedback effect is supported. isSquareWaveEffectSupported
Type: bool Denotes whether a square wave force-feedback effect is supported. isTriangleWaveEffectSupported
Type: bool Denotes whether a triangle wave force feedback-effect is supported. isSawtoothUpWaveEffectSupported
Type: bool Denotes whether a sawtooth up wave force-feedback effect is supported. isSawtoothDownWaveEffectSupported
Type: bool Denotes whether a sawtooth down wave force-feedback effect is supported. isSpringEffectSupported
Type: bool Denotes whether a spring force-feedback effect is supported. isFrictionEffectSupported
Type: bool Denotes whether a friction force-feedback effect is supported. isDamperEffectSupported
Type: bool Denotes whether a damper force feedback-effect is supported. isInertiaEffectSupported
Type: bool Denotes whether an inertia force-feedback effect is supported.
Remarks
TheGameInputForceFeedbackMotorInfo structure is a member of GameInputDeviceInfo. It defines the information about a force-feedback motor and uses a pointer to the GameInputFeedbackAxes enumeration.
On modern devices, force feedback is typically used on racing wheels with one single-axis motor connected to the steering wheel itself. However, the GameInput API supports devices with any number of force-feedback motors and assigns a unique index number to each motor on a device. The “normal” axis is used for special cases where the applied force is dimensionless, such as a pressure suit for a flight simulator.
Requirements
Header: GameInput.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
Advanced GameInput topicsOverview of GameInput
GameInputDeviceInfo
GameInput
