mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +01:00
Raise thread priority.
Using AboveNormal priority for now. Test Highest priority at some point.
This commit is contained in:
parent
ef779afdf2
commit
2b00244c62
@ -242,9 +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.Name = "DS4 Output thread: " + Mac;
|
||||
ds4Output.Start();
|
||||
ds4Input = new Thread(performDs4Input);
|
||||
ds4Input.Priority = ThreadPriority.AboveNormal;
|
||||
ds4Input.Name = "DS4 Input thread: " + Mac;
|
||||
ds4Input.Start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user