Search the Community
Showing results for tags '_timer_getidletime()'.
-
I was wondering if anyone have any solution for this... Consider the following small script. #include <Timers.au3> HotKeySet("+{ESC}", "_Quit") While 1 SplashTextOn("Test of idle timer. Shift-Esc to quit.", "This timer should go up if you do not touch anything." & @CRLF & @CRLF & _Timer_GetIdleTime(),-1,100) Sleep(1000) WEnd Func _Quit() SplashOff() Exit EndFunc All it does is show the current idle time from _Timer_GetIdleTime(). Now, if you have Windows 10 and have updated to Version 1511 (Check winver. Its the big November update), Game Controller movements no longer reset the timer for some reason. I have a software that automatically lowers the volume of the machine (ment for arcade machines that are on 24/7) after it has been idle for a while and with this recent change, if you are playing a game using a Game Controller, the audio fades out because _Timer_GetIdleTime() says you are idle. Anyone have any ideas or solutions/workarounds? I tried looking for a small "Has the joystick been moved" UDFs but they are all too big and only work on the primary game controller (I have 5 connected). Thanks in advance!
- 4 replies
-
- _timer_getidletime()
- 1511
-
(and 1 more)
Tagged with: