[Plib-devel] Windows joystick problem
Brought to you by:
sjbaker
From: Frederic B. <fre...@fr...> - 2004-10-08 06:39:35
|
Hi, the last change to jsWindows.cxx by /smokydiamond/ here : http://cvs.sourceforge.net/viewcvs.py/plib/plib/src/js/jsWindows.cxx?r1=1.4&r2=1.5 is giving me an error when running FlightGear. I am getting tons of messages like this : PLIB_JS: Wrong num_axes. Joystick input is now invalid indicating that the program goes line 251. This is a default case of a switch on the number of axis and 16, which is the value of num_axes initialized with _JS_MAX_AXES line 129, is not listed as a valid case. Could someone restore line 129 with its previous wording : num_axes = _JS_MAX_AXES_WIN or include 'case 16:' ( or 'case _JS_MAX_AXES:' ) in the switch begining line 204 Thanks, -Fred |