mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
Use Highest thread priority
It does improve input lag slightly with no real impact on CPU usage
This commit is contained in:
parent
6a3e9ff913
commit
0dd442f813
@ -242,11 +242,11 @@ namespace DS4Windows
|
||||
Console.WriteLine(MacAddress.ToString() + " " + System.DateTime.UtcNow.ToString("o") + "> start");
|
||||
sendOutputReport(true); // initialize the output report
|
||||
ds4Output = new Thread(performDs4Output);
|
||||
ds4Output.Priority = ThreadPriority.AboveNormal;
|
||||
ds4Output.Priority = ThreadPriority.Highest;
|
||||
ds4Output.Name = "DS4 Output thread: " + Mac;
|
||||
ds4Output.Start();
|
||||
ds4Input = new Thread(performDs4Input);
|
||||
ds4Input.Priority = ThreadPriority.AboveNormal;
|
||||
ds4Input.Priority = ThreadPriority.Highest;
|
||||
ds4Input.Name = "DS4 Input thread: " + Mac;
|
||||
ds4Input.Start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user