I have a Linux kernel hack to get the hat switch working.
Posted: Fri Jul 22, 2005 12:55 am
The hat switch does not work on some joysticks, Thrustmaster Top gun afterburner(what teh ghey name for what is actually a half decent stick) and at least one SaiTek model. Probly lots of others.
The crux of the issue is that D3 wants hats to show up as switches, and the Linux kernel presents them as axes.
I finally finished a working hack to make a hat show up as a switch, Works damn good in D3. I'm just not sure how to post it here.
It's for 2.4.29 but I'm sure it could be easily adapted for other kernels.
Ironic that I can create a working kernel hack, but I don't know how to generate a patchfile. Use diff I guess, but I'm not sure what arguments to give it so it will work right for others. Help appreciated.
If anyone is interested in it, let me know and I'll find a way to get it to you. I can also provide the entire working joydev.c source.
Markus aka Xenu
PS: Any word on linux D3 1.5?
The crux of the issue is that D3 wants hats to show up as switches, and the Linux kernel presents them as axes.
I finally finished a working hack to make a hat show up as a switch, Works damn good in D3. I'm just not sure how to post it here.
It's for 2.4.29 but I'm sure it could be easily adapted for other kernels.
Ironic that I can create a working kernel hack, but I don't know how to generate a patchfile. Use diff I guess, but I'm not sure what arguments to give it so it will work right for others. Help appreciated.
If anyone is interested in it, let me know and I'll find a way to get it to you. I can also provide the entire working joydev.c source.
Markus aka Xenu
PS: Any word on linux D3 1.5?