[Flightgear-devel] Re: [RFC][PATCH] simgear/props/props_io.cxx: unix windows axis differences

2004-04-27 Thread Melchior FRANZ
* Melchior FRANZ -- Tuesday 27 April 2004 20:32: +#if defined(WIN32) +static bool win32 = true; +#else +static bool win32 = false; +#endif That should be const static bool win32 ... ^ of course. The #if could be moved down to the if, but it looks cleaner this way, and I assumed

[Flightgear-devel] Re: [RFC][PATCH] simgear/props/props_io.cxx: unix windows axis differences

2004-04-27 Thread Melchior FRANZ
* Andy Ross -- Tuesday 27 April 2004 21:08: It's basically a joystick hack, and should stay that way. No, it's not a joystick hack. It allows to assign different indices for different OSes for any property. It just happens to be useful for the js problem. ;-) But I'm a Linux user with a

Re: [Flightgear-devel] Re: [RFC][PATCH] simgear/props/props_io.cxx: unix windows axis differences

2004-04-27 Thread Chris Horler
On Tuesday 27 April 2004 20:19, Melchior FRANZ wrote: It's basically a joystick hack, and should stay that way. Well I'm afraid to say I've been busy and are only just catching up on the mailings. I agree with the above. I think the long term solution should be a joystick configuration