D3 Linux Joystick Hat switch not functional

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
xenu
DBB Cadet
DBB Cadet
Posts: 7
Joined: Sun Jan 02, 2005 10:07 pm

D3 Linux Joystick Hat switch not functional

Post by xenu »

The issue is that the linux joydev.c presents the hat as an axis, but D3 only wants to see it as a switch.

There is a hack located at:
http://svn.icculus.org/lgfaq/trunk/cool ... iew=markup

But I can't seem to get it to work on 2.4.29(It was originally written for 2.4.8).

Any help greatly appreciated. My stick is a Thrustmaster Top gun pro usb if that helps.

Thanks in advance!
User avatar
akula65
DBB Ace
DBB Ace
Posts: 372
Joined: Mon Sep 20, 2004 6:34 pm
Location: Virginia

Post by akula65 »

You might want to PM Iten as he had a similar problem:

phpbb/viewtopic.php?t=4009

Good luck!
User avatar
FunkyStickman
DBB Ace
DBB Ace
Posts: 309
Joined: Wed Apr 20, 2005 2:26 pm
Location: 'Nawlins

Post by FunkyStickman »

A few quick questions: What distro are you running? After modifying "joydev.c" did you recompile kernel modules? Did it give you any errors? Could you "modprobe joydev" afterwards?
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

I know nothing about the linux version but in windoze D3 you can assign axis to sliding -- you would use "Slide Vertical" and "Slide Horizontal" to do that instead of "Slide Up/Down/Left/Right". JIC..
Post Reply