Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Warning
Deprecated. This structure was removed in GameInput v1 and is not available in the current API. Use GameInputHapticInfo instead.
Describes a haptic feedback motor on an input device.
Syntax
typedef struct GameInputHapticFeedbackMotorInfo {
GameInputRumbleMotors mappedRumbleMotors;
GameInputLocation location;
uint32_t locationId;
uint32_t waveformCount;
const GameInputHapticWaveformInfo* waveformInfo;
} GameInputHapticFeedbackMotorInfo;
Members
mappedRumbleMotors
Type: GameInputRumbleMotors
Which rumble motors (if any) this haptic motor is mapped to.
location
Type: GameInputLocation
The physical location of the motor on the device.
locationId
Type: uint32_t
An identifier distinguishing motors at the same location.
waveformCount
Type: uint32_t
Number of haptic waveforms supported by this motor.
waveformInfo
Type: const GameInputHapticWaveformInfo*
Pointer to an array of waveformCount waveform descriptors.
Version History
| Version | Changes |
|---|---|
| v1 | Removed. Replaced by GameInputHapticInfo. |
| v0 | Introduced. |
See also
Deprecated GameInput API members GameInputHapticInfo GameInputHapticWaveformInfo GameInputHapticFeedbackParams