![]() |
AntiMicroX
|
Effect message for a vibration trigger effect. More...
Public Member Functions | |
| void | build (int start, int end, int strength, int freq) |
| Builds a vibration effect message. | |
Data Fields | |
| u16 | active_zones |
| u32 | amplitude_zones |
| u16 | _padding1 |
| u8 | frequency |
| Frequeny in Hz. | |
| u8 | _padding2 |
Effect message for a vibration trigger effect.
Builds a vibration effect message.
| [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. |
| u16 EffectVibrationPs5::_padding1 |
| u8 EffectVibrationPs5::_padding2 |
| u16 EffectVibrationPs5::active_zones |
Defines if force feedback is active in the corresponding tenth of the trigger. Bitfield of 10 right aligned bits.
| 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.
| u8 EffectVibrationPs5::frequency |
Frequeny in Hz.