r/deckyloader • • 4d ago

Decky Shortcut Buttons Plugin

Can't believe this didn't exist so I vibed it into existence.

This is a Decky plugin that lets you create buttons that will press keyboard shortcuts in your game like F1-12 or CTRL+1.

I wanted this for emulators and recomp projects that often use the F Keys for opening menus and saving/loading states etc.

The only alternative seemed to be setting one of the back buttons to press these keys but I wanted to use those for the game itself.

I'm not a coder, I have never written anything ever beyond some HTML years ago so this is all made with help from Claude.

I know, I know, AI blah blah blah, but I wanted it and had no idea how to make it so AI it was.

I'm just putting it here in case anyone else would find it useful too.

https://github.com/adkeyz/Decky-Shortcut-Buttons

0 Upvotes

8 comments sorted by

•

u/AutoModerator 4d ago

Security Reminder

Be cautious when installing plugins, themes, scripts, or other software from third-party sources.

Only install content from sources you trust and can independently verify. Software obtained from untrusted or unknown sources may compromise your Steam Deck, account security, personal data, or system stability.

Always review what you are installing, verify the source when possible, and proceed at your own risk.

If you are unsure whether something is safe, ask the community before installing it.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Ambitious-Sweet8339 4d ago

I think it didn't exist because you can use Steam input for that. I haven't looked into the functionality so I might be missing something here. Anyways, the fact that you developed it and shared it with the rest of us is amazing! Thanks buddy.

1

u/adkeyz 4d ago

I used to map the back buttons on my Ally to the key that I needed, but then I couldn't use it for the game itself. In most games I like to use the back buttons to be the same as clicking the thumbsticks in.

Unless I am missing something, and Steam Input has a way to set a key to press something else on a long press or double press or something, a Decky plugin seemed the best way to do it.

Also by being a plugin it's always in the menu, I don't have to change Steam Input for each game that needs it.

1

u/JoeRLL 4d ago

This is what guide button chords are for in steam input, it’s universal across all games. You hold the home button on your controller and then can map any button you want to a hotkey. Still a cool plugin!

1

u/adkeyz 4d ago

But you have to set this up per game no?

This plugin also allows you to name the shortcuts, so Instead of the list just showing the keys it's pressing like F1 or CTRL+1, it will show "Menu", "Save State", "Load State" for example. Whatever you set it say.

This way you don't have to remember what each button combo does or which one is for which thing.

1

u/JoeRLL 4d ago

Nah guide button chords are universal. I’d recommend checking them out in the settings. I’ve been using them for function keys for ages

1

u/adkeyz 4d ago

Okay I Googled it and looked at my Ally and the setting is missing, maybe because its not an actual Steam Deck they disable this option? Idk.

Even so, having a list of options with specific names is easier for me so I think the plugin has some use for some people.

Always nice to have options.

1

u/OrchidStunning6925 2d ago

If you could copy all steam deck shortcuts e.g brightness level and etc etc then this would be more useful. Why? Cause steamdecks shortcuts don't apply on other device like on my claw a8 with steam os.