void NudgeMouse()

Moves the mouse 1 pixel and then back

Security

Trust Level Required: Full Trust

Remarks

This function can be paired with KioApp.GetLastUserActivityTime() to obtain the total number of inactive milliseconds. A general use case is to simulate user input in order to force KioWare out of attract mode.

Examples

setInterval(fucntion(){
    if(!KioApp.IsSessionAction()) 
        KioUtils.NudgeMouse()}, 500)

Requirements

KioWare for Windows version 8.12 or greater.