Hi guys.
I play around with idletime and found out strange behavbiour. If you interupt idletime with e.g. Mouse click and move over pano than is is like reseted and starting to count user inactivity from 0 (or other way around depends how the counter works).
But if you just click this is not counted as user action -> which is strange. Is this a bug or I am doing soemthing wrong.
Example:
showlog();
set(autorotate.enabled,true);
set(step,1);
</action>
set(autorotate.enabled,true);
if(step == 5, set(step,1));
if(step == 1, trace(step));
if(step == 2, trace(step));
if(step == 3, trace(step));
if(step == 4, trace(step));
inc(step);
set(idletime, 3);
</action>
onclick="action(reset_idle); set(autorotate.enabled,false); "
onmousedown="action(reset_idle); set(autorotate.enabled,false);"
/>
showtext(Idle time reset));
</action>
waittime="0"
speed="2"
/>
</autorotate>
When you click and move on pano it works perfercty. My counter is increasing and dispaying number 1, 2, 3, 4 if interwals are min 3 sec of user inactivity.
But when you just click or mouse down nothing happened (without movement with mouse). Tried with onclick and mouse down.
Is there a way to see the internal idletime variable that counts for inactivity to debag what is wrong. Or to force reset of this variable manualy.
Thanks in advance