9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Fco.J.Ballesteros <nemo@plan9.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: [9fans] mouse wheel in rio
Date: Tue, 11 Jun 2002 21:53:56 +0200	[thread overview]
Message-ID: <30feecc0c3561f25a05605cadd173595@plan9.escet.urjc.es> (raw)

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



                 reply	other threads:[~2002-06-11 19:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30feecc0c3561f25a05605cadd173595@plan9.escet.urjc.es \
    --to=nemo@plan9.escet.urjc.es \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).