Effect message for a click trigger effect.
More...
|
void | build (int start, int end, int strength) |
| Builds a click effect message. More...
|
|
Effect message for a click trigger effect.
◆ build()
void EffectClickPs5::build |
( |
int |
start, |
|
|
int |
end, |
|
|
int |
strength |
|
) |
| |
|
inline |
Builds a click effect message.
- Parameters
-
[in] | start | Start point of the effect. Value between 2 and 7. 2 is the middle of the trigger range, 7 the end. This defines the position where the resistance starts. |
[in] | end | End point of the effect. Value between 2 and 8 which must be at least grater then start by two. 2 is the middle of the trigger range, 8 the end. This defines the position where the trigger "clicks". |
[in] | strength | Strength of the feedback force. Value between 0 and 7. |
◆ _padding
u8 EffectClickPs5::_padding[7] |
◆ force
Strength of the feedback force. Value between 0 and 7.
◆ start_stop_zone
u16 EffectClickPs5::start_stop_zone |
Bitfield with two set bits which define the start and stop zone of the effect. The trigger is devided into 9 zones.
The documentation for this struct was generated from the following file: