Subject: Re: Breaking binary compatibility for /dev/joy
To: Jared D. McNeill <>
From: Jaromir Dolecek <>
List: tech-kern
Date: 04/17/2002 17:41:00
> On Wed, 17 Apr 2002, Jaromir Dolecek wrote:
> > I was thinking about something like this too. However, is it
> > possible to find out if you have two joysticks or one joystick
> > with two axes and 4 buttons?
> You could easily find out if one or two joysticks are connected. Force 2
> button mode if two joysticks are connected, and 4-button mode if one is
> connected.

How would you find out if it's two joysticks with one wheel and two buttons
each, or one joystick with two wheels and 4 buttons? Does the hardware
report this any way?

> How about:
>     game*	at isapnp?
>     joy*	at game?

Yep, this is sounds fine :)

Jaromir Dolecek <>
ARTISYS, s.r.o., Stursova 71, 61600 Brno, Czech Republic
phone: +420-5-41224836 / fax: +420-5-41224870 /