PowerControl: Tweaks and fixes (#29)

* Fix context menu, add osd toggle
* Update values on number of displays change
* Check display info in DeviceManager
* Refactor OSD toggle
* Isolate display context setup
* Move more context stuff to the display initialize method
This commit is contained in:
maniman303 2022-12-19 21:36:58 +01:00 committed by Kamil Trzciński
parent 1074143a6e
commit 64f4050de5
3 changed files with 119 additions and 2 deletions

View file

@ -25,7 +25,7 @@ namespace PowerControl
public string MenuLeftKey
{
get { return Get("MenuLeftKey", "Ctrl+Win+Numpad6"); }
get { return Get("MenuLeftKey", "Ctrl+Win+Numpad4"); }
set { Set("MenuLeftKey", value); }
}
@ -35,6 +35,12 @@ namespace PowerControl
set { Set("MenuRightKey", value); }
}
public string MenuToggle
{
get { return Get("MenuToggle", "Shift+F11"); }
set { Set("MenuToggle", value); }
}
public bool EnableNeptuneController
{
get { return Get<bool>("EnableNeptuneController", true); }