AntiMicroX
Public Member Functions | Data Fields
EffectClickPs5 Struct Reference

Effect message for a click trigger effect. More...

Public Member Functions

void build (int start, int end, int strength)
 Builds a click effect message. More...
 

Data Fields

u16 start_stop_zone
 
u8 force
 Strength of the feedback force. Value between 0 and 7. More...
 
u8 _padding [7]
 

Detailed Description

Effect message for a click trigger effect.

Member Function Documentation

◆ build()

void EffectClickPs5::build ( int  start,
int  end,
int  strength 
)
inline

Builds a click effect message.

Parameters
[in]startStart 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]endEnd 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]strengthStrength of the feedback force. Value between 0 and 7.
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _padding

u8 EffectClickPs5::_padding[7]

◆ force

u8 EffectClickPs5::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: