From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <30feecc0c3561f25a05605cadd173595@plan9.escet.urjc.es> To: 9fans@cse.psu.edu From: Fco.J.Ballesteros MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] mouse wheel in rio Date: Tue, 11 Jun 2002 21:53:56 +0200 Topicbox-Message-UUID: a9f0b67c-eaca-11e9-9e20-41e7f4b1d025 I just saw that the kernel mouse now sends events for mouse wheels. I found nothing in the source/manual about how to use the wheel to send up/down runes. I tried with a small change to mousethread() in rio.c if (mouse->buttons == 8) send(keyboardctl->c, &rkup); else if (mouse->buttons == 16) send(keyboardctl->c, &rkdown); and found that the wheel in acme and other rio windows is *very* convenient. Any plans to make a similar change official? Perhaps along with a change to xfid.c to intercept new "wheel 8 16" or similar writes to mousectl (to configure which buttons should send up/down events) ? thanks