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

Re: Joystick portability questions...



Brad Johnson wrote:
> 
>         Okay, tonight I figured out how to take input from the joystick using
> the Linux joystick driver, and the docs in Documentation/joystick-api.txt, but
> is this at all portable? Is there any way to get the same input from a
> joystick on a BSD or Solaris machine? I'd like to keep portability in mind
> when I add joystick support to my program.


My guess is, that it is like sound; not portable. (Anything that has to
do with including <linux/something.h> is AFAIK not portable)

If you want portable code, you should probably use a joystick library.
Not that I know of any.

Mads