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

[Feature Request] Different Hotkeys for Suspend and Resume #208

Closed
Petkov0721 opened this issue Mar 14, 2024 · 4 comments
Closed

[Feature Request] Different Hotkeys for Suspend and Resume #208

Petkov0721 opened this issue Mar 14, 2024 · 4 comments

Comments

@Petkov0721
Copy link

Is it possible to have different hotkeys for suspend and for resume?
Right now the hotkey for resume and suspend is always the same, it would be really useful to be able to set different hotkeys for resume and for suspend independantly.

Thank you!

@Merrit
Copy link
Owner

Merrit commented Mar 15, 2024

Could you give me an idea of your use case? I am not sure how this would be helpful.

@Petkov0721
Copy link
Author

Thank you for your response.

I have a script that suspends and resumes a game when streaming via Sunshine (https://github.com/LizardByte/Sunshine).
However, it's inconsistent. When connecting, it attempts to find the game (via it's .exe) and resume it if suspended, but sometimes it suspends the active window instead.

Having separate keys would be helpful. I could pass the resume keys from the script, and if a game is suspended, it would resume it without affecting the active window. If nothing is suspended, it would do nothing.

It's an edge case, but it provides users with more options I guess.

@Merrit
Copy link
Owner

Merrit commented Mar 16, 2024

I am still not quite sure what you are trying to achieve. Do the app-specific hotkeys not work for this use case?

Then you don't have to worry about the hotkey accidentally targeting the incorrect window.

@Merrit
Copy link
Owner

Merrit commented Apr 1, 2024

I will close for now, if this is still relevant feel free to reopen.

@Merrit Merrit closed this as completed Apr 1, 2024
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

No branches or pull requests

2 participants