Repository navigation
Conversation
Issues FoundNo issues with your PR description were found. Next Steps
Thank you for your contribution! If you need any help, please reach out on our Discord server. ❤️ |
|
This pull request is stale as no updates or testing reports have been posted within the last 7 days. Please ensure you are actively recruiting testers or resolving the issues discussed. If you do not remove the stale label or comment, this will be closed in 7 days. Please close this pull request if you need more time to resolve issues so we can keep our repo healthy. |
AAGaming00
left a comment
There was a problem hiding this comment.
fix the license, remove defaults and py_modules if you aren't using them
|
@AAGaming00 thanks for taking a look! I've fixed the repo license, and removed py_modules/defaults. Also added some updates/fixes to the plugin, updated to v1.1.0. |
|
This pull request is stale as no updates or testing reports have been posted within the last 7 days. Please ensure you are actively recruiting testers or resolving the issues discussed. If you do not remove the stale label or comment, this will be closed in 7 days. Please close this pull request if you need more time to resolve issues so we can keep our repo healthy. |
AAGaming00
left a comment
There was a problem hiding this comment.
You need to leave in the original template copyright too
|
This pull request is stale as no updates or testing reports have been posted within the last 14 days. Please ensure you are actively recruiting testers or resolving the issues discussed. If you do not remove the stale label or comment, this will be closed in 7 days. Please close this pull request if you need more time to resolve issues so we can keep our repo healthy. |
|
Rebased and fixed LICENSE file |
ynhhoJ
left a comment
There was a problem hiding this comment.
Code looks fine to me. But one thing can lead to some performance issue and unnecessary load on the user device:
https://github.com/olivervbk/decky-macro/blob/a5bfffb6d08799f705230c00f0aab8b7b0c4b84d/src/index.tsx#L357-L376
Instead of getting notifications every 1 second through an interval, you can use decky.emit in python and addEventListener / removeEventListener on the Front-End from @decky/api to send the needed errors or data to the Front-End ONLY when this is really needed!
|
Migrated to the notification mechanism instead of polling. Thanks for the tip @ynhhoJ |
Add Decky-Macro to Plugin Store
It's a plugin that allows recording and playing back controller input macros.
There is a rust daemon backend that looks at /dev/input/event* devices for inputs, and when a trigger key is identified, it starts recording the inputs to be replayed until the trigger key is pressed again.
Then, a different trigger can be pressed to start playing back the macro.
There are multiple slots that can be configured, each to hold it's own macro.
Each slot can be configured with a loop count for the macro (or 0 to repeat without limit).
By default, the macro playback cancels if another button is pressed.
This only supports digital inputs right now since analog triggers/stick have a lot of noise and are hard to "record".
Task Checklist
Developer
Plugin
Couldn't find another plugin that does this.
Backend
Yes: I am using a custom backend other than Python.
Yes: I am using a tool or software from a 3rd party FOSS project that does not have it's dependencies statically linked.
(I guess rusts use of glibc isn't statically linked?)
No: I am using a custom binary that has all of it's dependencies statically linked.
Community
Testing