Matthias Frohlich wrote:
> I have done a new joystick definition for my hardware. This is the
> thrustmaster top gun afterburner USB (what a name!) throttle/stick
> combination.

Wow, that's some significant Nasal hackery.  Very cool. :)

When inline scripts get that elaborate, it's probably a good idea to
split them out into a "CyborgGold3DUSB.nas" file which would
presumably be easier to maintain.  You could, for example, store the
current joystick mode as a module-scoped Nasal variable and not have
to worry about getting it out of the property system.

Some stuff, like the differential brake handling and afterburner range
mapping, could even go into controls.nas for other sticks to use.  The
afterburner handling would obviously have to be configurable though.

Andy


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to