Date: Mon, 15 Nov 1999 12:47:31 +0200 From: Maxim Sobolev <sobomax@altavista.net> To: Alexey Zelkin <phantom@cris.net> Cc: "Daniel O'Connor" <doconnor@gsoft.com.au>, Mark Murray <mark@grondar.za>, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, Kazutaka YOKOTA <yokota@FreeBSD.ORG>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Peter Wemm <peter@netplex.com.au>, Bruce Evans <bde@zeta.org.au> Subject: Re: cvs commit: src/sys/dev/syscons scmouse.c src/sys/i386/conf Message-ID: <382FE4C3.AB3397CD@altavista.net> References: <199911150828.KAA32612@gratis.grondar.za> <XFMail.991115190600.doconnor@gsoft.com.au> <19991115124123.B1282@scorpion.crimea.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Zelkin wrote: > hi, > > On Mon, Nov 15, 1999 at 07:06:00PM +1030, Daniel O'Connor wrote: > > > > In order to use an ioctl, you need to write nasty looking code, and in > > > cases like this, that ends up being horrors like rndcontrol(8). One > > > of the nice things about UNIX is its extremely general-purpose tools, > > > and these one-off ioctl-drivers break that. > > > > Why not make vidcontrol deal with it? It already handles console stuff. > > We already have following chunk in moused(8): > > -3 Emulate the third (middle) button for 2-button mice. It is emu- > lated by pressing the left and right physical buttons simultane- > ously. > > Isn't this code that you want to have by adding SC_TWOBUTTON_MOUSE ? No, it was clearly stated that SC_TWOBUTTON_MOUSE just remaps central button to the right button (-3 allows emulate central button by simulateneously pressing left and right). IMHO due to a weird timing it is *really* hard to press it simulatenuously with current settings, so -3 does not quite work (at least on my Toshiba laptop) while I have no problems at all with third button emulation under X. Therefore I'm voting for this option. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?382FE4C3.AB3397CD>