Mouse wheel emulation with 2 buttons is not possible
It is not possible to have Wheel Emulation activated by pressing 2 buttons
This would be useful in some applications such as CADs which use multiple mouse drag events with different buttons. Button configured for wheel emulation makes drag event with that button not possible. If wheel emulation utilizes 2 buttons to activate, those 2 buttons would be still available for drag events
My suggestion how to approach this is in the attached patch: 0001-Wheel-Emulation-2-button-mode.patch I also created a merge request: !2
Now 2 button numbers can be specified by EmulateWheelButton option in config file or set via property. To activate emulation 2 buttons must be pressed within _EmulateWheelTimeout _time limit. Wheel emulation with 1 button is unaffected by proposed change.
Thank you for looking and your feedback !