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

Method to edit keybinds for changing frequency? #7

Open
IsuzeAwase opened this issue Jan 1, 2024 · 1 comment
Open

Method to edit keybinds for changing frequency? #7

IsuzeAwase opened this issue Jan 1, 2024 · 1 comment

Comments

@IsuzeAwase
Copy link

A couple other popular QoL mods overlap with the new default keybinds for this mod (R and F.) Could a more accessible method to edit the change frequency keybinds be added?

Making it editable in something like the in-game keybinds menu (using InputUtils) might be the best option to implement, and could make the mod more easily usable for people with modpacks or other keybind preferences; even if it creates a dependency. (Should be easier than trying to make it editable using the thunderstore/r2modman config editor afaik.)

@Larkooo
Copy link
Owner

Larkooo commented Jan 1, 2024

Yes, being able to change the keybinds for changing frequencies from the in-game settings menu was already in my todo list. I just didn't have the time to implement it.

One potentially simple but naive solution would be to implement those keybindings to be apart of the PlayerActions class which handles all of the binded player actions but I'm quite unsure about its interference with other mods that do the same thing or use InputUtils.

InputUtils does seem like a good solution even though it adds a dependency to the mod.

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