kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #36853
Re: Hotkeys in GAL
On Wed, Jul 25, 2018 at 8:45 AM, Maciej Sumiński
<maciej.suminski@xxxxxxx> wrote:
>
> I would not mind adding more hotkeys, I think the primary reason is that
> not every action is executed often enough to justify a hotkey. Even with
> the current configuration it might be challenging to find a free hotkey
> for an action.
>
> The initial idea was to list all TOOL_ACTIONs in the hotkey editor, so
> the user may decide for himself which actions should have a hotkey
> assigned.
That is what I was thinking too - have the more esoteric ones
unassigned by default.
> It might be somewhat tricky to implement with legacy canvas
> still in place, so perhaps the right moment will come when legacy canvas
> is out.
OK, that makes sense.
> I imagine we could have subsections in
> the editor that are specific to tools and these would be acceptable
> duplicates with global and other contexts hotkeys.
That sounds sensible. If the hotkey dialog knew which TOOL_ACTIONs
were AS_GLOBAL and AS_CONTEXT, it could then only disallow multiple
AS_GLOBAL bindings of the same key, or multiple AS_CONTEXTs actions
within the same tool group (eg. pcbnew.InteractiveRouter).
This probably can't be easily done while the legacy code also uses the
dialog, as it requires each hotkey binding to know the global/context
aspect and the tool group.
I'll hold off doing much more until the legacy canvas is on the way out.
Cheers,
John
References