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

Shortcut to set _specific_ custom profiles #1931

Closed
MrThePlague opened this issue Jan 16, 2024 · 12 comments
Closed

Shortcut to set _specific_ custom profiles #1931

MrThePlague opened this issue Jan 16, 2024 · 12 comments
Labels
question Further information is requested

Comments

@MrThePlague
Copy link

Is your feature request related to a problem? Please describe.

It would be great to have the capability of setting hot keys to set specific profiles.

Use case: I would like to be able to configure Playnite to use a hotkey when a game launches in order to set a specific profile for a game. E.g.: set the 7W profile when XPlay is launched. Set the 12W profile when Cocoon is launched.

Describe the solution you'd like
Without a more complicated solution, simply the ability to map a specific hot key to each profile would probably do the trick.

Describe alternatives you've considered

Additional context

@seerge
Copy link
Owner

seerge commented Jan 17, 2024

@MrThePlague hello, did you know that you can already cycle between profiles (even custom) forwards and backwards ?

Fn + F5 / Fn + Shift + F5 - Toggle Performance Modes forwards / backwards
Ctrl + Shift + F5 / Ctrl + Shift + Alt + F5 - Toggle Performance Modes forwards / backwards

@MrThePlague
Copy link
Author

Yes, absolutely, thank you.

What would be awesome though would be to be able to key bind specific profiles.

The Playnite launcher allows you to run a script when launching a game, so I'd like to be able to set a specific per game by executing the keybind, e.g.: launch XPlay -> set 7W profile. Launch Cocoon -> set 12W profile, etc.

@seerge
Copy link
Owner

seerge commented Jan 17, 2024

@MrThePlague try this build

I have reserved 5 hotkeys for mode switches

Ctrl + Shift + Alt + F16 - Silent
Ctrl + Shift + Alt + F17 - Balanced
Ctrl + Shift + Alt + F18 - Turbo
Ctrl + Shift + Alt + F19 - Custom 1 (if exists)
Ctrl + Shift + Alt + F20 - Custom 2 (if exists)

GHelper.zip

@seerge seerge added the question Further information is requested label Jan 17, 2024
seerge added a commit that referenced this issue Jan 17, 2024
@seerge
Copy link
Owner

seerge commented Jan 18, 2024

@MrThePlague did you had a chance to check the build ?

@MrThePlague
Copy link
Author

Yes, just tested it and it looks good! Thank you! Really appreciate the work you put into this tool.

@ggjiza
Copy link

ggjiza commented Feb 3, 2024

I'm trying to use 0x11 0x10 0x12 0x82 = Ctrl + Shift + Alt + F19 in my M16 but it doesn't work.
When using a software to detect keyboard and trying other keys besides F19/0x82 (Ctrl + Shift + Alt + X), the macro custom action doesn't seem to run.
0x11 0x10 0x12 registers Ctrl + Shift + Alt, 0x11 0x10 0x12 0x82/X doesn't register any key.

@seerge
Copy link
Owner

seerge commented Feb 3, 2024

@ggjiza you mix 2 separate things.

Those are external hotkeys (i.e. something that you are supposed to emit from other app or game-launcher as issue starter requested).

You are talking about binding macro keys (M1-M4) to emit some key-combos :) they support only 3 keys simultaneously atm

@ggjiza
Copy link

ggjiza commented Feb 3, 2024

I see, thank you for the clarification.
So if the macro binding supports 4 keys it should do what I expected.
That wouldn't be a bad feature to have in the next update :)

@seerge
Copy link
Owner

seerge commented Feb 3, 2024

@ggjiza what are you trying to achieve? Bind M-key to specific profile ?

@ggjiza
Copy link

ggjiza commented Feb 3, 2024

Yes, practically a faster way to reach a specific profile without having to toggle through them all.

@MrB0x
Copy link

MrB0x commented Feb 3, 2024

Is there a way to disable the second set of bindings?

"Ctrl + Shift + F5 / Ctrl + Shift + Alt + F5 - Toggle Performance Modes forwards / backwards"

I have an fn key for the first set of bindings to toggle performance modes forwards / backwards but use the second set of key combination ctrl + shift + f1-12 for applications.

@seerge
Copy link
Owner

seerge commented Feb 3, 2024

@MrB0x yes, there is a way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants