I am trying to make my own editor tool by making a plugin. I currently created an Editor Toolbar Button but i actually need to execute the command while aiming with the cursor in the viewport so i need a keybind.
I can actually see the execute action of that button in the keyboard shortcuts settings. But it does not work, i tried many different keys and nothing happen. If i click on the toolbar icon directly, my debug in output log works.