delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/26/15:37:26

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: analog joystick (allegro)
Date: 26 May 1997 14:11:10 GMT
Organization: The National Capital FreeNet
Message-ID: <5mc5lu$b7j@freenet-news.carleton.ca>
References: <199705260725 DOT JAA20044 AT gil DOT physik DOT rwth-aachen DOT de>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet6.carleton.ca
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Christoph Kukulies (kuku AT gilberto DOT physik DOT RWTH-Aachen DOT DE) writes:
> Anyone having experience with analog joysticks? I bought a 
> Logitech Wingman Extreme and when using the allegro
> poll_joystick() function - I think it's a general problem with 
> the analog port (a/d) - I find that it is extremely noisy.
> 
> Coordinates jump randomly in a +20/-20 units range of the
> total +255 - 256 full scale range.
> 
> Can one do anything about it in hardware? Like shielding ?
> I might filter this out by masking off the four least significant
> bits of the coordinate values but I'd hate to do this.

You did center and calibrate it in your startup code right?

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019