mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44:20 +01:00
Write HidGuardian whitelist key when application is started
Will fail silently if not run as admin
This commit is contained in:
parent
12aedd3724
commit
7909e57620
@ -104,12 +104,12 @@ namespace DS4Windows
|
||||
//if (mutex.WaitOne(TimeSpan.Zero, true))
|
||||
//{
|
||||
createControlService();
|
||||
//rootHub.createHidGuardKey();
|
||||
rootHub.createHidGuardKey();
|
||||
//rootHub = new ControlService();
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new DS4Form(args));
|
||||
//rootHub.removeHidGuardKey();
|
||||
rootHub.removeHidGuardKey();
|
||||
//mutex.ReleaseMutex();
|
||||
//}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user