This commit is contained in:
seerge
2023-04-05 13:02:02 +02:00
parent 0605e63433
commit 8d119b386d
2 changed files with 12 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using CustomControls;
using Microsoft.Win32;
namespace GHelper
{
@@ -98,6 +99,16 @@ namespace GHelper
private void CheckKeyboardAuto_CheckedChanged(object? sender, EventArgs e)
{
Program.config.setConfig("keyboard_auto", (checkKeyboardAuto.Checked ? 1 : 0));
/*
RegistryKey myKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\ASUS\\ASUS System Control Interface\\AsusOptimization\\ASUS Keyboard Hotkeys", true);
if (myKey != null)
{
myKey.SetValue("TurnOffKeybdLight", 30, RegistryValueKind.DWord);
myKey.Close();
}
*/
}
private void CheckTopmost_CheckedChanged(object? sender, EventArgs e)