Date: Mon, 10 Mar 1997 14:27:20 +0100 (MET) From: Christoph Kukulies Message-Id: <199703101327.OAA01724@gilberto.physik.rwth-aachen.de> To: djgpp AT delorie DOT com Subject: joystick reading (gameport) I grep'ed for joy and game in djgppfaq.txt to no avail. I also looked into jlib and allegro. Jlib isn't very evident on joystick programming (since it introduces a logical layer) which wasn't quite understandable to me without getting into deeper details. I found that the inport for the joystick - I want to use it to position my XYZ-stepper motor assembly - is 0x201 and reading using inportb(0x201) gives me the fire button statii but where is the data for the stick itself? Sorry, I'm a nono on DOS game programming. Are there int13/21 calls for reading the joystick information and should I use them better over direct I/O statements? Should I take care for contact bouncing, when reading the data? -- Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de