9fans archive / 2000 / 12 / 76 /    prev next

From: anothy@cos...
Subject: Re: [9fans] mice w/ >3 buttons
Date: Wed, 13 Dec 2000 15:43:50 -0500

//Go to /sys/src/libdraw/mouse.c and delete
//the line that masks the buttons with 7.

okay, maybe i'm just dense, but i've done this,
and rubuilt and installed the resulting libdraw,
rebuit rio and my kernel (neither aux/vga nor
aux/mouse seem to look at libdraw), and i'm still
getting button4=button2.

i'm using a Logitech ps2 4-button thingy, M-CV46.
i've seen this exact mouse hooked up to a MS box,
running Logitech's software, and the two buttons
in question can be made to do different things.

//Please play and see if you come up with ideas.

my first thought as to what to do with the extra
button is a one-button select-and-plumb. aside
from the cut-and-paste chording, that's my most
common two-button operation. it'd also be nice to
get the button2 menu shorter again.
-α.