Darkfall writes:
In this video, we will be looking at creating a custom Key map / Shortcut for an add-on.
Instead of pressing the button on our panel, we can create a custom Shortcut that will run our operators. In this example I use 'Shift F', but you can use any short cut you want (providing it's not already being used).
To check if a key map is being used, you can check out the Keymap section (edit > preferences > Keymap). Then you can check what shortcuts are being used. You should also note, that other add-ons (that you or the user have downloaded) may have created a keymap.
Creating a Shortcut for your add-on, will make the experience for the user much better. It's far easier to press a Shortcut, then it is to open panels and find buttons.
I hope you find this video helpful and as always, thanks for reading!.