Skip to content

Commit

Permalink
Replace wrong trigger EffectType
Browse files Browse the repository at this point in the history
  • Loading branch information
einspunktnull authored Dec 12, 2022
1 parent 39ab2a6 commit 5e2a41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PS5Trigger.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class PS5Trigger {
* @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) {
data.effectType = EffectType::SectionResitance;
data.effectType = EffectType::EffectEx;
data.EffectEx.startPosition = start;
data.EffectEx.keepEffect = keep;
data.EffectEx.beginForce = begin_force;
Expand Down

0 comments on commit 5e2a41d

Please sign in to comment.