Trigger effect.
More...
|
|
union { | |
|
unsigned char _u1_raw [6] | |
| | Union one raw data.
|
|
struct { | |
|
unsigned char _pad [4] | |
| | PAD / UNUSED.
|
|
unsigned char force | |
| | Force of resistance.
|
|
unsigned char startPosition | |
| | Start position of resistance.
|
| } Continuous |
| | For type == ContinuousResitance.
|
|
struct { | |
|
unsigned char beginForce | |
| | Force applied when trigger >= (255 / 2).
|
|
unsigned char endForce | |
| | Force applied when trigger is beyond 255.
|
|
unsigned char frequency | |
| | Vibration frequency of the trigger.
|
|
bool keepEffect | |
| | Wher the effect should keep playing when trigger goes beyond 255.
|
|
unsigned char middleForce | |
| | Force applied when trigger <= (255 / 2).
|
|
unsigned char startPosition | |
| | Position at witch the effect starts.
|
| } EffectEx |
| | For type == EffectEx.
|
|
struct { | |
|
unsigned char _pad [4] | |
| | PAD / UNUSED.
|
|
unsigned char endPosition | |
| | End position of resistance (>= start).
|
|
unsigned char startPosition | |
| | Start position of resistance.
|
| } Section |
| | For type == SectionResitance.
|
| }; | |
| | Union for effect parameters.
|
|
TriggerEffectType | effectType |
| | Trigger effect type.
|
Trigger effect.
Definition at line 166 of file DS5State.h.
◆ startPosition
| unsigned char DS5W::_TriggerEffect::startPosition |
Start position of resistance.
Position at witch the effect starts.
Definition at line 188 of file DS5State.h.
The documentation for this struct was generated from the following file: