ayufan / steam-deck-tools

(Windows) Steam Deck Tools - Fan, Overlay, Power Control and Steam Controller for Windows
https://steam-deck-tools.ayufan.dev
Other
940 stars 67 forks source link

Power controls tweaks and fixes #29

Closed maniman303 closed 1 year ago

maniman303 commented 1 year ago

In this PR I have fixed the placement of context menu on first right click, added a OSD toggle shortcut and fixed wrong values in OSD / context menu after number of displays changes.

The multi display support is not prettiest, but seams to be reliable and will be a huge plus for game profiles rewrite.

ayufan commented 1 year ago

Just this snippet in here without instance variable.

On Mon, 19 Dec 2022 at 20:33, maniman303 @.***> wrote:

@.**** commented on this pull request.

In PowerControl/Controller.cs https://github.com/ayufan/steam-deck-tools/pull/29#discussion_r1052563873 :

@@ -50,6 +55,21 @@ public Controller() if (Instance.WantsRunOnStartup) startupManager.Startup = true;

  • DeviceManager.LoadDisplays();
  • contextTimer = new System.Windows.Forms.Timer();

Isolate by moving it to other class or to other method? Yeah, it clicks on first tick :)

— Reply to this email directly, view it on GitHub https://github.com/ayufan/steam-deck-tools/pull/29#discussion_r1052563873, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQKSJ7DRVIDOJRVCHVLWOC2BHANCNFSM6AAAAAATCFKR7I . You are receiving this because you commented.Message ID: @.***>