AMD Overlay button

This commit is contained in:
Serge
2024-01-29 12:31:31 +01:00
parent 2b0ea99acc
commit e04c4cd46f
5 changed files with 55 additions and 10 deletions

View File

@@ -235,7 +235,9 @@ namespace GHelper
buttonControllerMode.Click += ButtonControllerMode_Click;
buttonBacklight.Click += ButtonBacklight_Click;
buttonFPS.Click += ButtonFPS_Click;
buttonOverlay.Click += ButtonOverlay_Click;
Text = "G-Helper " + (ProcessHelper.IsUserAdministrator() ? "—" : "-") + " " + AppConfig.GetModelShort();
TopMost = AppConfig.Is("topmost");
@@ -250,6 +252,11 @@ namespace GHelper
panelPerformance.Focus();
}
private void ButtonOverlay_Click(object? sender, EventArgs e)
{
KeyboardHook.KeyKeyKeyPress(Keys.LControlKey, Keys.LShiftKey, Keys.O);
}
private void ButtonHandheld_Click(object? sender, EventArgs e)
{
if (handheldForm == null || handheldForm.Text == "")