I submitted a patch for acme this morning, wheel-chording, and I'm sorry but I wrote the wrong email address, is there any way I could change it? My system time was also wrong. (This is my first patch and, I promise, the last one I submit before breakfast...) I should also have written in the description that I'm not sure this patch will work for you, I sent it to Russ some time ago, when I had tested it only in plan9port's acme, and this was his response:
2008/3/19, Russ Cox <r...@swtch.com>: i don't think this is a good idea, for two reasons. the first is that pushing most mouse wheels down emits a middle button click already (at least on the microsoft and logitech mice). the second is more fundamental: wheel mice don't send up/down events for the scroll wheel like they do for normal buttons, so it doesn't work to treat those button bits the same way as a normal button. with your code, if i highlight and then push the scroll wheel more than one click, it will cut and then scroll. that's pretty weird. do you have a mouse without a clickable scroll wheel? russ I have been using the patch in 9vx.Linux (and plan9ports's acme) with different mouses and it has worked so far without any problem, YMMV. I find it more comfortable in general and very convenient to chord with touchpads, where many times you have a wheel, but not a middle button. Regards, -- - yiyus || JGL .