[freespace2] Joystick HAT problem

Taylor Richards mtrs at bellsouth.net
Mon Jan 20 18:59:54 EST 2003


On Mon, 2003-01-20 at 17:26, Steven Fuller wrote:
> I think the joystick driver only reports axii, so SDL has to use an
> alternate method of determining which axii are really hats, and such.  In
> this case, you would want to use the SDL_LINUX_JOYSTICK env. var to
> properly configure SDL:
> 
> http://sdldoc.csn.ul.ie/sdlenvvars.php
> 
> For example, I use:
> export SDL_LINUX_JOYSTICK="'Logitech Inc. WingMan Extreme Digital 3D' 4 1 0"
> 
> 
> Steven Fuller

Much better idea.  I did a search but missed this for some reason.  Is
this worth putting in the lgfaq?


Taylor

-- 
Taylor Richards <mtrs at bellsouth.net>




More information about the freespace2 mailing list