oskros/MF_run_counter

Disable hotkeys if Diablo isn't the active window

rgoliveira opened this issue · 2 comments

It's common to leave the game open and do something else (Discord, search something, etc.). When out of the game, it's undesirable to trigger the hotkeys. As it happens, the hotkeys I use in the run counter clash with a few other apps' (and even Windows').

It would be easy to implement a feature that makes hotkeys not fire when Diablo is not in focus. However it would be more difficult to actually unbind and rebind them every time focus is changed from Diablo - this I don't have a good idea of how to do.

If I go with the first suggestion, the app would still overwrite hotkeys for other applications when out of focus, but pressing them would not have any effect. Is this solution acceptable for you? Otherwise I will think a bit more on what could be done.

Decided this wont be made. It will cause issues in other parts of the program. Sorry about that