*BSD News Article 8434


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!mel.dit.csiro.au!etrog!jboyle
From: jboyle@cgl.citri.edu.au (James Boyle)
Subject: [386BSD] Reading joystick port
Message-ID: <jboyle.723341435@godzilla.cgl.citri.edu.au>
Sender: news@etrog.se.citri.edu.au
Organization: Collaborative Information Technology Research Institute
Date:  3 Dec 92 00:10:35 GMT
Lines: 15

Hi,

I am writing a simulation program that uses the PC to read in values from the
joystick port.  These values then need to be sent over the network to an SGI 
IRIS that will perform the dynamics and display the graphics.

So I can use the socket facility, I would like the PC to run BSD.
However, I don't know how to read joystick ports from a BSD process.
Is this possible?  And if so how?

Any help would be appreciated.
Thanks in advance.

- James
jboyle@godzilla.cgl.citri.edu.au