Feature Request: Able set mouse mid and right click button as a Hotkey

Description

I want to use mouse mid button as shortcut key to place VIAs, but the shortcut panel is not taking mid button as a key.

Steps to reproduce

  1. open the shortcut settings.
  2. select any shortcut to set a new key.
  3. press mouse mid button/right button to use it as shortcut.

KiCad Version

Application: Pcbnew
Version: (5.1.12)-1, release build
Libraries:
    wxWidgets 3.0.5
    libcurl/7.77.0 OpenSSL/1.1.1k (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.5.0 libidn2/2.3.1 libpsl/0.21.1 (+libidn2/2.3.1) libssh2/1.9.0 nghttp2/1.43.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.75.0
    OpenCASCADE Technology: 7.5.0
    Curl: 7.77.0
    Compiler: GCC 10.3.0 with C++ ABI 1014

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=ON
    KICAD_SPICE=ON
Edited by rahmanshaber