9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mouse wheel in rio
@ 2002-06-11 19:53 Fco.J.Ballesteros
  0 siblings, 0 replies; only message in thread
From: Fco.J.Ballesteros @ 2002-06-11 19:53 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-11 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-11 19:53 [9fans] mouse wheel in rio Fco.J.Ballesteros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).