Effect message for a rigid trigger effect.
More...
|
void | build (int strength) |
| Builds a rigid effect message. More...
|
|
void | build_gradient (int strength) |
| Builds a rigid gradient effect message. This effect starts with a strength of zero and slowly increases its strength until it reaches its given maximum strength at the end. More...
|
|
Effect message for a rigid trigger effect.
◆ build()
void EffectRigidPs5::build |
( |
int |
strength | ) |
|
|
inline |
Builds a rigid effect message.
- Parameters
-
[in] | strength | Strength of the feedback force. Value between 0 and 7. |
◆ build_gradient()
void EffectRigidPs5::build_gradient |
( |
int |
strength | ) |
|
|
inline |
Builds a rigid gradient effect message. This effect starts with a strength of zero and slowly increases its strength until it reaches its given maximum strength at the end.
- Parameters
-
[in] | strength | Strength of the feedback force at the end. Value between 0 and 7. |
◆ _padding
u32 EffectRigidPs5::_padding |
◆ active_zones
u16 EffectRigidPs5::active_zones |
Defines if force feedback is active in the corresponding tenth of the trigger. Bitfield of 10 right aligned bits.
◆ force_zones
u32 EffectRigidPs5::force_zones |
Defines the force feedback strength in the corresponding tenth of the trigger. Bitfield of 30 right aligned bits. Every zone has three bits.
The documentation for this struct was generated from the following file: