delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/27/03:47:06

From: Christoph Kukulies <kuku AT gilberto DOT physik DOT RWTH-Aachen DOT DE>
Message-Id: <199705270749.JAA04028@gil.physik.rwth-aachen.de>
Subject: Re: analog joystick (allegro)
In-Reply-To: <5mc5lu$b7j@freenet-news.carleton.ca> from Paul Derbyshire at "May 26, 97 02:11:10 pm"
To: ao950 AT FreeNet DOT Carleton DOT CA
Date: Tue, 27 May 1997 09:49:13 +0200 (MEST)
Cc: djgpp AT delorie DOT com
Reply-To: Christoph Kukulies <kuku AT gilberto DOT physik DOT RWTH-Aachen DOT DE>
MIME-Version: 1.0

> 
> 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?

Yes, now :-) No, I didn't go through the calibration process
but I was able to improve the behaviour by averaging 100 samples.

> --
>     .*.  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
> 

--
Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -


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