In my WPF app, I have to detect the System Idle Time (that includes not using mouse, keyboard, joystick).
I used GetLastInputInfo
to get the idle time of the system, but I found that it's working only for input from mouse or keyboard, but not from joystick.
Is there a way or any Win32 API that can give the LastInputInfo by detecting the input from all three devices (mouse, keyboard, joystick)?