🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4286

How do you read the joystick values in "C"

#4286
From: Randy Young
Date: Mon, 09 Jul 1990 18:02
17 lines
1085 bytes
Hello:

I am about to start working on another game for the Amiga.  This game will
need to use the joysticks.  I will need to write some code to read the
values of the joystick for the directions of up, down, left, right, and the
botton on the joysticks.  I would also like to make the game a 4 player game,
so I would like to also know how to hook up 2 extra joysticks to the
parallel port (I thought I had heard some talk on this just a while ago).

This code should be in C for a start, eventualy it may be converted to
assembly (but not by me).  I use Lattice 5.0 newest version.

I hope somebody out there who has done work with the joysticks could help
me out.

Thanks (alot) in advance
Randy Young
Technical Details
Message-ID: <224@wglen.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!ubc-cs!calgary!wglen!young

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!ubc-cs!calgary!wglen!young
From: young@wglen.UUCP (Randy Young)
Newsgroups: comp.sys.amiga.tech
Subject: How do you read the joystick values in "C"
Message-ID: <224@wglen.UUCP>
Date: 9 Jul 90 18:02:13 GMT
Reply-To: young@wglen.UUCP (Randy Young)
Organization: Willowglen Systems Ltd., Calgary, Alberta, Canada
Lines: 17