Subject: Re: Mouse console support
To: Bang Jun-Young <junyoung@mogua.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 01/30/2002 19:34:04
Bang Jun-Young wrote:

> On Tue, Jan 29, 2002 at 08:19:38PM +0100, Julio Merino wrote:
> > I don`t know if anybody is currently working on this, but I`ve started
> > porting OpenBSD`s code to NetBSD-current`s wscons to use mouse.
> > I`m a kernel newbie, so I may get it, or maybe not... at least, I`ve
> > patched wsdisplay.c and other files, and the kernel compiles. Now I`ve
> > to get it working together with the wsmoused program.
>
> I was doing the same thing some time ago. IMHO, OpenBSD implementation
> is misusing wscons events for control commands. Commands to turn wsmoused
> on/off are not events since they are not generated by a mouse device.
> So I changed them to WSDISPLAYIO_WSMOUSED_O{N|FF}. Along with this,
> I wrote wsmoused from scratch. The OpenBSD version is unnecessarily
> complicated and has a bunch of obsolete stuff for NetBSD.

I had quick look at the OpenBSD stuff, and I agree.  It seemed to have lots
junk in it that we don't need.


> > Any advice? Should I leave this because nobody wants it? Or should
> > I continue? ;)
>
> I remember quite a number of people have wanted this feature so
> far. Can I look at your patch?

I'd like it.  As an option, of course.

    -- Lennart