Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Find My Mouse] Refer to GPU usage to detect that a game is in progress #19319

Closed
masukatto0281 opened this issue Jul 11, 2022 · 3 comments
Closed
Labels
Idea-Enhancement New feature or request on an existing product Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Mouse Utilities Refers to the Mouse Utilities PowerToy

Comments

@masukatto0281
Copy link

Description of the new feature / enhancement

Find My Mouse has a "Do not activate when Game Mode is on" option, but this does not work while playing games in the borderless window. (#14082)
I was using different software. That app was referencing GPU usage to determine game mode.

https://github.com/AutoDarkMode/Windows-Auto-Night-Mode
スクリーンショット 2022-07-11 214911

Can a similar feature be implemented in PowerToys?

Scenario when this would be used?

  • It can determine if the game is being played in a borderless window or in windowed mode.
  • Detection accuracy can be increased by combining with existing determination routines.

Supporting information

No response

@masukatto0281 masukatto0281 added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jul 11, 2022
@Aaron-Junker Aaron-Junker added Idea-Enhancement New feature or request on an existing product Product-Mouse Utilities Refers to the Mouse Utilities PowerToy labels Mar 24, 2023
@crutkas
Copy link
Member

crutkas commented Apr 24, 2023

Machine learning models would cause this to not be a valid solution. There are other things that slam the GPU as well

@masukatto0281
Copy link
Author

Opinion is correct. Machine learning was not considered.
It was inaccurate to base the decision solely on GPU usage.

@masukatto0281 masukatto0281 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
@God-damnit-all
Copy link

@masukatto0281 Wouldn't the proper solution be to just use the Effective Power Mode API?

https://learn.microsoft.com/en-us/windows/win32/api/powersetting/nf-powersetting-powerregisterforeffectivepowermodenotifications
https://learn.microsoft.com/en-us/windows/win32/api/powersetting/ne-powersetting-effective_power_mode

If the callback returns "EffectivePowerModeGameMode", then it's in Game Mode. Simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Mouse Utilities Refers to the Mouse Utilities PowerToy
Projects
None yet
Development

No branches or pull requests

4 participants