Subject: Re: Breaking binary compatibility for /dev/joy
To: None <tech-kern@netbsd.org>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: tech-kern
Date: 04/17/2002 15:15:07
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 16, 2002 at 09:09:45PM -0300, Jared D. McNeill wrote:
> Would anybody horribly mind if I broke binary compatibility for
> applications that use /dev/joy*?
>=20
> I've added 4-button support to the analog joystick driver, but that
> required adding two more items to struct joystick (for the two extra
> buttons).
>=20
> Current applications should still be source compatible.
>=20
> Any objections?

If you're going to break binary compatibility, why not re-engineer
it right and have a button struct and a linked list of them in the
joystick struct rather than have to break binary compatibility every
time someone decides they want to support devices with more buttons?
(I'm sure I've seen joysticks with more than four buttons.)

--=20
gabriel rosenkoetter
gr@eclipsed.net

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjy9ybsACgkQ9ehacAz5CRpgcQCgqvc/4QnDAt2dBdsnP3EfhzNr
ARoAoLQMvfBZevaiEjl4xEPvZ8xAsqu4
=mTnH
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--