Add gui events for middle mouse click
just test it ;)
Actually, does this have to be hardlinked to a mouse tripleclick? Why not use hotkeys so people can put it on arbitrary input? There will certainly be people with only 2 buttons (Wasn't that about every mac user?) Which doesn't mean that the GUI hardcoding support can't be completed. I guess the use case for these hardcoded GUI events is to keep some things unchangeable, like the leftclick on a button, the leftclick on a list item. These are conventions that are the same throughout platforms, websites, decades. But there are not many of such things that are so common.
It's already supported, see default.cfg:
pan = MouseMiddle ; Enable scrolling by moving mouse
(I posted the same comment already this week on some other phab page, but not sure where)
When I saw this in D1751 I also thought to remove this triplicated hunk, but there are too many constants to make this immediately worthwhile.
It won't be an easy task. We make solve it with keyboard settings to detect any pressed key.