Allow binding mouse buttons to actions
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template markers <>. * Keep report contents limited to the necessary information required to fix the issue. ---------Add your issue details below----------- --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> When trying to rebind "leave sheet" to the back mouse button I expect when I press the mouse button in binding mode, it will capture that "keypress". Instead, nothing happens. This seems to be the case for all alternate hid inputs. # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> 1. Open up preferences -> hotkeys and double click to enter binding mode 2. Press alternate mouse button. nothing will happen. related to #4422 as it would be nice to not have to unbind the original hotkey to add a mouse hotkey. related to #5178 for more thought on supporting forward/back actions. # KiCad Version <!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. --> ``` Application: Eeschema Version: (5.99.0-2402-g2af6d01fd), release build Libraries: wxWidgets 3.0.4 libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2 Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW Build Info: Date: Jul 25 2020 23:47:08 wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) Boost: 1.71.0 OCE: 6.9.1 Curl: 7.66.0 ngspice: 31 Compiler: GCC 9.2.0 with C++ ABI 1013 Build settings: 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=ON KICAD_SPICE=ON ```
issue