The device use a time process to detect a single, double or holding click, as shown here.
The firmware records the time T0, at which the axis value becomes greater than the dead zone level.
Then, the firmware measures the duration T, during which the axis value stays above this limit.
Finally the following rules are applied :
- if T < T1, a single click is triggered,
- if T1 < T < T1+T2, a double click is triggered,
- if T > T1+T2, a holding click is triggered; for this last case the click is triggered as soon as T becomes > T2, the firmware doesn't wait for the end of T.
Once the holding click is active, it can be canceled by a single click action.
The double and holding click apply to left button; for the right button only the single click is available.
For this reason, the right click has only one parameter: dead zone level.
Below, the behaviour of single, double, and holding clicks are detailed. As described in each case, the following “beeps”/"bips" are emitted which correspond to their appropriate actions.