On Sat, Oct 30, 2010 at 12:49 PM, Vivian Meazza
<vivian.mea...@lineone.net> wrote:
>
> The bug seems to lie in the joystick config: if I comment out the whole of
> the coolie hat axis, the bug is fixed.
>
> Since this seems to be a windows bug, it seems likely that this tag is not
> working:
>
>                <number>
>                        <unix>4</unix>
>                        <windows>6</windows>
>                </number>
>

Thanks Vivian, based on this information I think the culprit is in
src/Input/FGCommonInput.hxx:

#if defined( UL_WIN32 )
#define TGT_PLATFORM    "windows"
#elif defined ( UL_MAC_OSX )
#define TGT_PLATFORM    "mac"
#else
#define TGT_PLATFORM    "unix"
#endif

However, the plib include ul.h that defines the UL_* macros is not
included here.
Try adding #include <plib/ul.h> before that block.

-- 
Cheers,
Csaba/Jester

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to