FactoryPlanner icon indicating copy to clipboard operation
FactoryPlanner copied to clipboard

Add keybindings into Controls

Open Hecatia-Lapislazuli opened this issue 1 year ago • 1 comments

Suggestion

Namely in this case, when clicking on a machine or beacon, i'd like to bind left click to "to put into cursor" rather then Alt + Left-click.

But this also goes for a fair few other controls as well, it's just this one has been the most prevalent to me in annoyance.

Although I suppose there is at least 38 different keybindings here... Something at least for selecting machines would be nice though.

I can go through them all later (sometime during the next week) and try to organize them if you'd like, just to see if one can reduce this. Or try to implement it myself and do a pull request? A bit outta practice though with that... Anywho, lemme know.

Hecatia-Lapislazuli avatar Sep 17 '23 11:09 Hecatia-Lapislazuli

Thanks for the suggestion, and sorry for not getting to it for so long. I have thought about this in the past. Having custom keybinds for every single action seems a bit much. There are a couple of 'light' versions of this that I could consider though. For one, you could have a system where you swapped the modifier keys around, for every keybind. Alternatively, you could change the keybind for a certain 'group' of actions (like delete) everywhere.

All that could lead to collisions though, so you'd need a system to show and resolve that, among other things. It's a neat idea, but I feel the complexity it would bring both to the code and UI aren't necessarily worth it. It's often just not as simple as rebinding a key, there's side effects.

Soo yeah sorry to say, but I don't think this is the right thing to focus on at the moment. It's a good idea, but there's tons of other good ideas too. I'll keep the card around, but not sure when I'll ever get to it.

ClaudeMetz avatar Dec 05 '23 14:12 ClaudeMetz