1
0
Fork 0
Commit graph

31 commits

Author SHA1 Message Date
Melchior FRANZ
587993138c warthog: simplify overlay handling, more bindings 2011-09-10 22:40:27 +02:00
Melchior FRANZ
820323e854 warthog: add js overlay support
This allows to have generic axis/button definitions with aircraft
specific or aircraft class specific modification overlays. These
are also found in $FG_HOME, where they override global files. This
mechanism is desirable, because the Warthog is an A-10 replica, and
it should be possible to have an automatically loaded (1:1 mapped)
A-10 joystick config when flying the A-10, while using generic layouts
otherwise, or a specific helicopter overlay for helicopters etc.

Overlay files look exactly like joystick config files, except they
have no <name> and only specify actually differing elements. Axes
with <number> *need* a property index (e.g. <axis n="2">), which
usually corresponds to the <unix> value (i.e. n'th axis def in file).
Overlay files can contain a <nasal> block which is executed on
load. The files are to be named {$FG_ROOT,$FG_HOME}/Input/Joysticks/\
ThrustMaster/Warthog/{Joystick,Throttle}/{generic,helicopter,<aircraft>}\
.xml.
2011-09-10 13:33:21 +02:00
Melchior FRANZ
ea0c72494d first draft of Thrustmaster HOTAS Warthog js config (WIP) 2011-09-09 20:02:01 +02:00
Gijs de Rooy
876280bd26 ThrustMaster T.Flight Stick X definition by Joffrey Paris 2011-05-22 17:33:38 +02:00
ThorstenB
17ac428f43 Adrien Bailly: Thrustmaster T.Flight Hotas X joystick support
thanks to him, 'flug' and the forum
(also removed a debug line from route-manger GUI)
2011-01-24 19:35:35 +01:00
Frederic Bouvier
6e173b0556 Add Windows name for Thrustmaster T.16000M 2010-11-17 23:15:40 +01:00
BARANGER Emmanuel
a3f838c414 - New input file by _obook 2010-11-12 20:07:43 +01:00
curt
10e9086b69 New joystick definition from tarot at unistra dot fr 2009-10-01 01:33:52 +00:00
frohlich
ebbc3ba003 Modified Files:
ThrustMaster/HOTAS-Cougar.xml: Updates from Matthias Boerner
2007-01-21 18:34:48 +00:00
mfranz
3ba1323fe8 use controls.geatToggle() wrapper 2007-01-15 23:08:29 +00:00
mfranz
cbf2ad2f03 fix flaps and gear 2007-01-15 22:50:36 +00:00
frohlich
dafb405492 Modified Files:
HOTAS-Cougar.xml: Put the speedbrake on the speedbrake button.
	Make the elevator trim direction match the joysticks direction.
2006-12-27 09:26:28 +00:00
mfranz
5aacc3651f one more name (Brandano on IRC) 2006-12-12 16:39:52 +00:00
frohlich
6af88bc58a Matthias Borner: Initial version of a HOTAS-Cougar configuration. 2006-11-07 05:29:43 +00:00
mfranz
543b47232e - add missing <desc>riptions
- random cosmetics
2006-10-21 14:58:24 +00:00
frohlich
0025aa8ce6 Modified Files:
Input/Joysticks/ThrustMaster/Top-Gun-Afterburner.xml
	Just update that to the current version.
2006-06-11 13:39:59 +00:00
mfranz
f51cbe102b - convert most joysticks to use brake wrappers (only js with sophisticated
settings are left unchanged for now)
- set throttle wrapper in one config
2006-03-01 18:17:26 +00:00
mfranz
17166921c0 - rename controls.stepFlaps() to controls.flapsDown(), because:
- to support "old-style" gear/flap control (operation as long as button
  pressed/lever pushed -> b29/hurricane), let bindings not only report
  up/down, but up (-1), stop (0), down (1).
- let controls.flapsDown() ignore "stop" so as to remain compatible with
  prior behavior
- adapt all joysticks/aircraft (sigh)
- some minor cosmetics in joystick configs, such as indentation fixes
2005-06-22 13:08:01 +00:00
mfranz
8a2ba09c4a call controls.stepFlaps() wrapper to keep bindings functional with aircraft
that implement special flaps behavior; use controls.throttleAxis() where
safely possible to support arbitrary numbers of engines
2005-06-16 16:47:31 +00:00
mfranz
f4a90a615e add controls.gearToggle() convenience function; adapt all joystick files
to new controls function
2005-06-16 07:59:33 +00:00
mfranz
019cc557a6 currently "tailwheel-lock=true" means 'unlocked', which is
confusing and inconsistent with brake properties (where 1.0
means (b)locked) ==> reverse tailwheel-lock meaning
2005-05-10 10:58:28 +00:00
ehofman
03d53595ef Add Mac support 2005-02-11 15:30:45 +00:00
ehofman
f06b96f7ff Melchior FRANZ:
This file is in a rather bad state. Hence:

- remove doubled "rudder" settings
- fix & nasalify brake properties (/controls/gear/wheel[?]/brake, yet again)
- remove redundant index setting
- nasalify throttle (to allow more than 8 engines)
- nasalify flaps (to make flaps with more than 4 positions work)
- nasalify elevator trim (just for fun  :-)
- fix syntax
- remove lots of trailing spaces

File tested by Jon-Eirik Pettersen
2004-11-16 09:45:57 +00:00
ehofman
8ce6031f23 Eric L. Hathaway:
The following patch updates the ThrustMaster FCS joystick configuration.  I have "Nasal-ized" the joystick bindings, drawing ideas from the Cyborg-Gold-3d-USB configuration file.  I also changed some of the bindings, so the joystick setup is more like the default four-axis-joystick config.  When I submitted the original config file, I had the hat switch bound to the rudder and elevator trim.  Since the vast majority (all?) of the other joystick configs use the hat switch to control view direction, I think it would be best for the defaults for this joystick to conform to the rest in order to obey the "principle of least surprise" for the unsuspecting user.
2004-08-06 08:49:31 +00:00
ehofman
3654ccb65f Add the Top-Gun-Fox2-Pro USB joystick, modify the Macally iStick USB joystick and update axis bindings to allow the Saitek X45 to work under Max OSX. 2004-05-06 16:12:32 +00:00
ehofman
efaab2be2a Fix the UNIX/Windows axis mismatch. 2004-04-29 09:14:14 +00:00
ehofman
e4fd2a455a Sync. with the functions of the Cyborg-Gold-3d-USB 2004-04-09 09:06:30 +00:00
curt
03eaf08ea2 Update brake properties. (These were changed a while back when we did
the braking setup, but these commits were missed due to permission problems.)
2004-03-24 00:46:14 +00:00
ehofman
edf25a4e82 Fix two typo's 2004-03-04 12:18:34 +00:00
ehofman
db14caea2d Add support for a Logitech Extreme 3D Pro and a thrustmaster top gun afterburner USB joystick 2004-03-04 10:37:44 +00:00
ehofman
16660ed513 Add two ThrustMaster input devices 2003-07-12 11:38:12 +00:00