Larkooo / FrequencyWalkie

A mod adding multiple selectable frequencies to the Walkie Talkie in Lethal Company
MIT License
3 stars 2 forks source link

Method to edit keybinds for changing frequency? #7

Open IsuzeAwase opened 7 months ago

IsuzeAwase commented 7 months ago

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 commented 7 months ago

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.