GetLastInputInfo equivalent in Linux to detect last input time
- by SaM
Is there a GetLastInputInfo() equivalent that can be used in Linux?
The intention is to detect the last input time (keyboard or mouse) of the user.
Am using python to script the program.