If you set trigger timeout to 5 seconds with setTriggerTimeout and then read it on each trigger check this is what you get
-1
4.5
4
3.5
3
2.5
2
1.5
0.999
0.499
-1
-1
-1
...
expected
5
4.5
4
3.5
3
2.5
2
1.5
0.999
0.499
-1
-1
-1
...
currentTriggerTimeout should be set to the set timeout especially because setTriggerTimeout can randomise the timeout.
setTriggerTimeout [min, mid, max, interuptible] if you give different values to min mid max the currentTriggerTimeout should get the resulting randomised value the trigger timeout will be set to.