mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 14:53:48 +00:00
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:
parent
1074143a6e
commit
64f4050de5
3 changed files with 119 additions and 2 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue