1
0
Fork 0
Commit graph

51 commits

Author SHA1 Message Date
James Turner
a6dac604eb Joystick name fixes.
From Hamza Alloush
2017-09-04 22:25:35 +01:00
Hamza Alloush
1ea33b9e5d Fix Thrustmaster Warthog on Windows
This fix assigns the correct id string, axis numbers and trim switch orientation
under Windows, with some convinience tweak for view panning step. Tested on Windows
7/10 and Ubuntu, this is for the stick only.
2017-03-20 19:50:30 +00:00
James Turner
fd8a1dece8 ThrustMaster T1600M tweaks
- left/right top of stick buttons cycles views, instead of aileron
  trim, since I judge this to be a more commonly used feature. But
  maybe this will cause a conversation.

- adjust sensitivity of the hat view-direction control, was unusably
  fast for me.
2016-01-15 19:38:38 -06:00
Torsten Dreyer
94a5384b40 Joystick HOTAS-Cougar: fix typo 2015-11-02 11:57:53 +01:00
Hamza Alloush
63c5a61f94 thrustmaster: add all changes to make joystick functional 2015-06-10 18:52:49 +03:00
Hamza Alloush
e2df2c3c6b add joystick id as shown on Linux 2015-04-07 11:04:17 +02:00
Clément de l'Hamaide
c7968a6ceb Fix wrong axis binding for Windows on T-Flight-Hotas-X 2013-08-19 14:54:49 +02:00
Melchior FRANZ
6088b75a52 warthog: IOrules need read permissions as well 2011-12-10 20:17:30 +01:00
Melchior FRANZ
a29f5d63e2 warthog: stick_rotate: re-attach listeners (nicer for development) 2011-12-10 20:17:30 +01:00
Melchior FRANZ
a957cf9797 warthog: support multiple overlay files; stick rotate; read hw state 2011-10-25 21:48:57 +02:00
Melchior FRANZ
556f07b212 warthog: improve linux/hidraw interface 2011-10-03 13:36:49 +02:00
Melchior FRANZ
7d9ea536f7 warthog: first stab at throttle hardware config (backlight + LEDs)
This works under Linux only, which is certainly suboptimal. But there's no
reason why support for other OSes couldn't be added later, and there's no
reason to not support Linux now, either. The code can set the throttle's
backlight brightness and the five programmable LEDs. As a demonstration,
the latter is currently used for a gear-down warning. Support for setting
the stick's hardware deadzone is planned. (It's on by default.)

The mechanism writes directly to Linux' hidraw devices, which requires
some simple configuration. This is described in the README. It doesn't
depend on any external utility.
2011-10-02 21:56:28 +02:00
Melchior FRANZ
0543d8fead js overlay to make speedbrake work on broken seahawk 2011-10-01 10:12:32 +02:00
Melchior FRANZ
fa1593f9f0 warthog: tailwheel/reverser/speedbrake + cleanup
Unfortunately, some aircraft (seahawk) don't play nice and ignore the
common speedbrake property, inventing their own. (These basic concepts
must be *really* hard to understand ...)
2011-09-30 21:48:06 +02:00
Melchior FRANZ
d300b92b9d warthog: gear; swap DMS/TMS (again); time based view reset 2011-09-24 19:26:31 +02:00
Melchior FRANZ
4cdc3a64aa warthog: don't attach listener again on "Reload Input"; fix overlay path 2011-09-22 18:14:43 +02:00
Melchior FRANZ
8fd08c7e03 warthog: add missing file 2011-09-15 21:38:47 +02:00
Melchior FRANZ
76b1d549a5 warthog: move js config files into Warthog dir; add more overlays 2011-09-15 21:26:08 +02:00
Melchior FRANZ
1a4fa0b16f warthog: fix trimming; more bindings (similar to cougar) 2011-09-11 20:25:22 +02:00
Melchior FRANZ
a6c2cfa172 warthog: add first aircraft specific overlay file
These files take complexity out of the main joystick file, while
not adding much code. They also update the description (<desc>)
used by the Help->Joystick information dialog. All <nasal> code
is executed in the joystick's namespace, so variables and funtions
of the main file (popup()) can be accessed.
2011-09-11 14:33:11 +02:00
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