Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/wscons



In article <20051123093802.B63E12DA27%cvs.netbsd.org@localhost>
augustss%NetBSD.org@localhost wrote:

> Module Name:  src
> Committed By: augustss
> Date:         Wed Nov 23 09:38:02 UTC 2005
> 
> Modified Files:
>       src/sys/dev/wscons: wsconsio.h wsmouse.c wsmousevar.h
> 
> Log Message:
> Some devices provide more than three (X, Y, and Z) "directions".  So add
> a W "coordinate" that can be used for these.
> This changes the type of wsmouse_input().  To avoid changing a lot of drivers
> a compatibilty #define is provided.  Maybe changing all drivers would have
> been better?

IMHO, it's always better to define API first and then modify drivers.
wsmouse(4) API looks a bit ugly already though...
---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index