映射btnx仅在按下某些键盘按钮时激活

我最近尝试了btnx,但发现它要么激活了映射就禁用了它,但是我目前没有多按钮鼠标

The functionality I want is to map the wheel up / wheel down to do Ctrl + PageUp / Ctrl + PageDown only when a certain keyboard button is pressed
I used to be able to do this mapping on windows with X-Mouse Button Control

I activate the mapping by pressing Ctrl and it's deactivated when Ctrl is released, so I can use the wheel again to scroll.
I was thinking of using something like Xbindkeys to achieve that

通过将btnx进程设置为在启动时启动但被暂停,

then mapping the the Ctrl button with xbindkeys to resume btnx process when pressed, activating the mapping of the mouse buttons
And pausing the process when released

也许没有必要暂停该过程,我的意思是也许我可以只映射xbindkeys以启用或禁用ntnx映射