mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Replace wrong trigger EffectType
This commit is contained in:
parent
39ab2a6944
commit
5e2a41dee5
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ public:
|
||||||
* @param frequency Vibration frequency of the trigger
|
* @param frequency Vibration frequency of the trigger
|
||||||
*/
|
*/
|
||||||
void setTriggerForceEffect(uint8_t start, bool keep, uint8_t begin_force, uint8_t mid_force, uint8_t end_force, uint8_t frequency) {
|
void setTriggerForceEffect(uint8_t start, bool keep, uint8_t begin_force, uint8_t mid_force, uint8_t end_force, uint8_t frequency) {
|
||||||
data.effectType = EffectType::SectionResitance;
|
data.effectType = EffectType::EffectEx;
|
||||||
data.EffectEx.startPosition = start;
|
data.EffectEx.startPosition = start;
|
||||||
data.EffectEx.keepEffect = keep;
|
data.EffectEx.keepEffect = keep;
|
||||||
data.EffectEx.beginForce = begin_force;
|
data.EffectEx.beginForce = begin_force;
|
||||||
|
|
Loading…
Reference in a new issue