Effect message for a vibration trigger effect.
More...
|
void | build (int start, int end, int strength, int freq) |
| Builds a vibration effect message. More...
|
|
Effect message for a vibration trigger effect.
◆ build()
void EffectVibrationPs5::build |
( |
int |
start, |
|
|
int |
end, |
|
|
int |
strength, |
|
|
int |
freq |
|
) |
| |
|
inline |
Builds a vibration effect message.
- Parameters
-
[in] | start | Start point of the effect. Value between 0 and 10. 0 is the beginning of the trigger range, 10 the end. |
[in] | end | End point of the effect. Value between 2 and 10 which must be at least grater then start by two. |
[in] | strength | Strength of the feedback force. Value between 0 and 7. |
[in] | frequency | Virbration frequency in Hz. Value between 1 and 255. |
◆ _padding1
u16 EffectVibrationPs5::_padding1 |
◆ _padding2
u8 EffectVibrationPs5::_padding2 |
◆ active_zones
u16 EffectVibrationPs5::active_zones |
Defines if force feedback is active in the corresponding tenth of the trigger. Bitfield of 10 right aligned bits.
◆ amplitude_zones
u32 EffectVibrationPs5::amplitude_zones |
Defines the force feedback strength in the corresponding tenth of the trigger. Bitfield of 30 right aligned bits. Every zone has three bits.
◆ frequency
u8 EffectVibrationPs5::frequency |
The documentation for this struct was generated from the following file: