News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

[Script API] Get the shortcut key associated with a tool

Started by Yona-TYT, Yesterday at 08:15:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

This is to obtain the values of the shortcut tool dynamically, since these values usually change depending on the packset.


@Prissi, I've noticed that `tool->command_key` isn't getting the value corresponding to the waytype shortcut. I think this means it can't be adjusted from `menuconf.tab` (in the `pakset` directory). 

Wouldn't it be a good idea to make it configurable from there?.

0001-Get-the-shortcut-key-associated-with-a-tool.patch

prissi

There are several bindings (i.e. for function keys) that require strings. A corrected version is in r 11896

Yona-TYT

Awesome, you added all the possible keyboard shortcuts, thanks for fixing it 🫡