INPUTEVENTS()
From Lianjapedia
Contents
Purpose
Returns the number of input events
Syntax
INPUTEVENTS()
See Also
App Settings, Lianja System Object
Description
The INPUTEVENTS() command returns the number of input events, that is mouse clicks, touches or key presses.
See also the App 'Inactive' event delegate and 'Inactive interval' attribute in App Settings.
Example
nCurrevents = inputevents() // Assumes nPrevEvents variable already declared/set and in scope if nCurrEvents = nPrevEvents // No events since last check, return to App Center Lianja.Home() endif nPrevEvents = nCurrEvents