Redid the idle implementation for ProcessorIdle

Renamed RunGlobalScripts# functions to the same as 4.x.
This commit is contained in:
NovaRain
2022-01-11 10:03:35 +08:00
parent 52126bf62d
commit de51b6838b
7 changed files with 31 additions and 22 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ public:
return RealDevice->GetDeviceData(a, buf, count, d);
}
RunGlobalScripts2();
RunGlobalScriptsOnInput();
if (!buf || bufferedPresses.empty() || (d & DIGDD_PEEK)) {
HRESULT hr = RealDevice->GetDeviceData(a, buf, count, d);