correction on sidewinder.c

SALMON Sébastien Sebastien.Salmon at ens2m.org
Tue Jun 10 21:31:12 BST 2008


hello,

I have a sidewinder FFP on a creative Sb live.
I 've managed to make it work by changing some lines in sidewinder.c :

line 694 :
there is
	if (j == 14) {			/* ID length 14*3 -> FFP */
and it should be
	if (j == 16) {			/* ID length 16*3 -> FFP */

because the length of the ID given by the FFP is 48

line 361 :
there is
			input_report_abs(dev, ABS_RZ,       GB(36, 6));
			input_report_abs(dev, ABS_THROTTLE, GB(29, 7));
and it should be
input_report_abs(dev, ABS_THROTTLE,       GB(36, 6));
			input_report_abs(dev, ABS_RZ, GB(29, 7));


Althought, i'd like to set up the force feedback so there many things to do and
I'm not a programmer:
- is it possible to send data trough the gameport to the FFP?
- or is it possible to modify the i-force driver to work on gameport because the
FFP has an I-force chip on-board?






More information about the Ubuntu-devel-discuss mailing list