void nudgeMouse()

Moves the mouse 1 pixel and then back

Security

Trust Level Required: Full Trust

Return

Nothing returned

Remarks

This function can be paired with KioApp.getLastUserActivityTime(). A general use case is to simulate user input in order to force KioWare out of attract mode.

Examples


setInterval(function() {
	if (!KioApp.isSessionActive()) 
		KioUtils.nudgeMouse();
}, 500);

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.