9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "rob pike" <rob@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] mice w/ >3 buttons
Date: Fri,  8 Dec 2000 00:18:03 -0500	[thread overview]
Message-ID: <20001208051807.32AA3199EB@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

We've been diddling around with the extra buttons on the AccuPoint
and the iPaq/Bitsy.  It's early to tell, but it looks like there are some
interesting possibilities.  Please play and see if you come up with
ideas.

Go to /sys/src/libdraw/mouse.c and delete the the line that masks
the buttons with 7.  Then rio will get the buttons delivered to it. You
can then figure out how to get the buttons from the mouse to the
driver, and rio will get them. I'm pretty sure the system went out
with a mouse driver that supports the AccuPoint, which is a variant
of the Intellimouse, and has its lunatic versions of buttons 4 and 5.
The important point is that those buttons do move through the
system.  (Rio didn't care beforehand because aux/accupoint remaps
these two buttons to button two; the iPaq uses six buttons and rio
now does a few things with these.)

Happy hacking.

-rob


[-- Attachment #2: Type: message/rfc822, Size: 1712 bytes --]

From: anothy@cosym.net
To: 9fans@cse.psu.edu
Subject: [9fans] mice w/ >3 buttons
Date: Thu, 7 Dec 2000 14:37:15 -0500
Message-ID: <20001207193719.861EF199F1@mail.cse.psu.edu>

anyone have any info on how to play with
the "extra" buttons on mice with more than
three buttons? right now, the extra one on
my logitech shows up as button 2, but i'd
like to make it do something else.
-α.

             reply	other threads:[~2000-12-08  5:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-08  5:18 rob pike [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-12-14 16:52 Russ Cox
2000-12-14 18:03 ` Boyd Roberts
2000-12-18 10:02 ` Bob Solomon
2000-12-14 16:42 anothy
2000-12-13 22:06 rob pike
2000-12-14 15:46 ` Boyd Roberts
2000-12-15  9:36   ` Patrick R. Wade
2000-12-13 20:43 anothy
2000-12-07 19:37 anothy

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=20001208051807.32AA3199EB@mail.cse.psu.edu \
    --to=rob@plan9.bell-labs.com \
    --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).