GameInputHapticFeedbackMotorInfo
Describes a haptic feedback motor in an input device.
Syntax
typedef struct GameInputHapticFeedbackMotorInfo {
GameInputRumbleMotors mappedRumbleMotor;
GameInputLocation location;
uint32_t locationId;
uint32_t waveformCount;
GameInputHapticWaveformInfo const * waveformInfo;
} GameInputHapticFeedbackMotorInfo
Members
mappedRumbleMotor
Type: GameInputRumbleMotors
The rumble motors that are mapped to the haptic feedback motor. If a device does not have rumble motors and a title calls IGameInputDevice::SetRumbleState, GameInput can attempt to apply the rumble-motor intensities to the haptic feedback motor.
location
Type: GameInputLocation
Location of the haptic feedback motor.
locationId
Type: uint32_t
ID of the location of the haptic feedback motor.
waveformCount
Type: uint32_t
Count of waveforms for the haptic feedback motor.
waveformInfo
Type: GameInputHapticWaveformInfo const *
Pointer to array of waveform descriptions.
Remarks
This structure is used in the GameInputDeviceInfo structure. For more information, see GetDeviceInfo.
To send a waveform to a haptic feedback motor, use IGameInputDevice::SetHapticMotorState.
Requirements
Header: GameInput.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles