Skip to content

Conversation

Copy link

Copilot AI commented Jan 27, 2026

Introduce a global hotkey to toggle per-application vibrance/brightness/contrast/gamma, and align the branch with the .NET Framework 4.8 upgrade baseline needed for local VS builds.

  • Hotkey toggle feature
    • Add settings UI to enable the toggle and capture key combos.
    • Register/unregister global hotkey and toggle the active app’s profile on demand.
    • Persist toggle enablement, hotkey binding, and toggle state across sessions.
  • Profile apply/revert logic
    • Wire hotkey toggles to apply/revert vibrance + gamma ramp settings without touching resolution.
  • .NET 4.8 upgrade baseline
    • Update csproj, App.config, packages, Fody schema, designers, and .gitignore to match the 4.8 upgrade branch.
_v.SetProfileToggleEnabled(isProfileToggleFeatureEnabled);
_v.SetProfileToggleState(profileToggleState);
_v.ApplyProfileToggle(activeWindowHandle, processName, newToggleState);
Original prompt

I want a new branch and feature - I want to be able to change the settings like vibrance, ingame brightness, ingame contrast and ingame gamma with a global toggle hotkey that will toggle the settings applied for the current running application, if toggled off everything will go back to default value, if toggled on the profile kicks in again, by default when starting an application it should be on the same as the current behaviour, dont do anything with resolution, so enabling this feature will have to be a tickbox in the settings, if the tickbox is selected an option to map the hotkey will appear, for example users may map it to F12 or alt+c or alt+shift+x etc.

to note for brightness, contrast and gamma to be enabled a never change color settings tickbox has to be unselected - not sure this will change your implementation but good to consider. write good clean code that the repo mainter will want to merge.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add global hotkey for changing in-game settings Add profile toggle settings scaffolding for global hotkey support Jan 27, 2026
Copilot AI requested a review from harisonw January 27, 2026 01:05
@harisonw
Copy link
Owner

@copilot continue until fully complete

Copy link
Author

Copilot AI commented Jan 27, 2026

@copilot continue until fully complete

Completed the remaining hotkey toggle feature work (UI, hotkey capture/registration, persisted toggle state, and apply/revert logic) in commit 29ffb6b. Screenshot: https://github.com/user-attachments/assets/59105d72-86c6-4694-9bb2-a48f8de892e0

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Add profile toggle settings scaffolding for global hotkey support Add global profile toggle hotkey UI and state persistence Jan 27, 2026
Upgraded project to target .NET Framework 4.8, updated NuGet packages (CommonServiceLocator, Costura.Fody, Fody), and refreshed .gitignore. Enhanced FodyWeavers.xsd with new options for runtime and unmanaged assemblies. Regenerated designer files with updated tooling. Improved project configuration for modern .NET and Visual Studio compatibility.
Copilot AI and others added 6 commits January 30, 2026 19:37
Co-authored-by: harisonw <87620631+harisonw@users.noreply.github.com>
Co-authored-by: harisonw <87620631+harisonw@users.noreply.github.com>
Co-authored-by: harisonw <87620631+harisonw@users.noreply.github.com>
Co-authored-by: harisonw <87620631+harisonw@users.noreply.github.com>
Co-authored-by: harisonw <87620631+harisonw@users.noreply.github.com>
Copilot AI changed the title Add global profile toggle hotkey UI and state persistence Add global profile toggle hotkey + apply .NET 4.8 upgrade baseline Jan 30, 2026
@harisonw harisonw force-pushed the copilot/add-global-hotkey-settings branch from 9ad6a4a to db295ed Compare January 30, 2026 19:39
Clears focus from the hotkey textbox after setting a profile toggle hotkey to improve user experience. Also adds the System namespace to IVibranceProxy.cs for completeness.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants