This commit is contained in:
Serge
2023-11-14 19:01:49 +01:00
parent 6737af2da4
commit f8df547afb
3 changed files with 5 additions and 2 deletions

View File

@@ -35,6 +35,8 @@ namespace GHelper.Input
Program.acpi.SubscribeToEvents(WatcherEventArrived);
//Task.Run(Program.acpi.RunListener);
if (AppConfig.ContainsModel("VivoBook")) Program.acpi.DeviceSet(AsusACPI.FnLock, AppConfig.Is("fn_lock") ? 1 : 0, "FnLock");
hook.KeyPressed += new EventHandler<KeyPressedEventArgs>(KeyPressed);
RegisterKeys();