mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +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