[Flightgear-devel] Re: [RFC][PATCH] simgear/props/props_io.cxx: unix windows axis differences
* 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 that the compiler optimizes it away if possible, anyway. m. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Re: [RFC][PATCH] simgear/props/props_io.cxx: unix windows axis differences
* 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 US-keyboard. I'm totally happy now. I just tried to provide a solution for the poor MICROS~1 souls that I consider better than the current one (duplicating every js file and hence entering maintenance hell). m. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: [RFC][PATCH] simgear/props/props_io.cxx: unix windows axis differences
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 tool, launched from a menu within flightgear. Presumably the required changes to axis responses can be made within the property tree by such a tool and saved in fgfsrc or some other file? Thanks, Chris ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel