Subject: Re: CVS commit: src/sys/dev/wscons
To: None <augustss@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 11/23/2005 18:43:25
In article <20051123093802.B63E12DA27@cvs.netbsd.org>
augustss@NetBSD.org 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