Date: Mon, 15 Nov 1999 12:41:23 +0300 From: Alexey Zelkin <phantom@cris.net> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: 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: <19991115124123.B1282@scorpion.crimea.ua> In-Reply-To: <XFMail.991115190600.doconnor@gsoft.com.au> References: <199911150828.KAA32612@gratis.grondar.za> <XFMail.991115190600.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ? -- /* Alexey Zelkin && phantom@cris.net */ /* Tavric National University && phantom@crimea.edu */ /* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */ 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?19991115124123.B1282>