1
0
Fork 0
Commit graph

71 commits

Author SHA1 Message Date
mfranz
f0cd9efc9f Hans FUGAL: different axis numbers for mac/unix
mf: add windows entries with same numbers as mac for now
2007-12-13 18:30:55 +00:00
mfranz
92fdbe3f1b Arvid NORLANDER: trigger, aircraft specific stuff, cleanup, ... 2007-12-12 21:52:56 +00:00
mfranz
f2a14b1697 Arvid NORLANDER: Saitek X52 pro driver 2007-12-04 12:36:51 +00:00
mfranz
93b06dc514 F3+F4+{left,right} -> switch to previous/next view (ignoring the "enabled" flag) 2007-11-20 16:22:36 +00:00
mfranz
c50aa8d817 better check for "lookat", as the C++ part does this, too. (And one could
also write "Blutwurst" instead of "lookfrom", with the same effect.)
2007-10-09 20:44:41 +00:00
mfranz
7ec82ab621 deduce left/right view dir from /sim/view[n]/type=="lookfrom"
(invert for all "lookat" views, so that in outside view "left" means:
move viewer to the left, not the target)
2007-10-09 20:11:08 +00:00
mfranz
f1374e316c Wim van HOYDONCK: add support for Saitek Cyborg evo Wireless 2007-09-28 10:04:29 +00:00
vmmeazza
52547b817a Anders Gidenstam -
Joystick configuration for the Saitek AV8R
2007-08-27 17:34:54 +00:00
mfranz
eab53706ba - replace "view-cycle" fgcommand by view.stepView() wrapper
(This fgcommand was broken for a few weeks. Now it's fixed, but the
  wrapper use is desirable, as this allows easy redefining.)
- cyborg gold: cosmetics
2007-06-11 19:23:15 +00:00
mfranz
b7ec28dcfa Harald JOHNSEN: add name "Saitek X52 Flight Controller" 2007-05-31 15:45:26 +00:00
mfranz
1e23cd6efc Anders GIDENSTAM: update 2007-03-20 17:05:23 +00:00
mfranz
caea872fbe Anders GIDENSTAM: X36 gamport js driver 2007-03-19 21:06:17 +00:00
mfranz
4a03f25bb6 - replace ["OFF", "ON"][i] with faster ternary operators (which didn't
exist when this was written)
- cosmetics
2007-02-18 18:33:11 +00:00
mfranz
ef78365c1c Ed SIRETT: configuration for Saitek P880
Ron JENSEN: replaced direct property use with Nasal wrapper calls
2007-02-12 18:51:48 +00:00
mfranz
9fd4bd2aa8 fix <power> type here, too :-) 2007-01-17 12:45:32 +00:00
mfranz
083ecf0786 fix <power> type 2007-01-17 12:42:13 +00:00
mfranz
e9cfd04488 Dave PERRY: Pro-Flight-Rudder-Pedals.xml config 2007-01-16 00:45:56 +00:00
mfranz
0d672a084b fix gear handling 2007-01-15 22:25:17 +00:00
mfranz
9352c3ae4f more consistent capitalization 2006-10-21 13:51:42 +00:00
mfranz
018f89b932 improve descriptions, add button names
(if <name> isn't defined, "Axis #0", or "Btn #2" etc. are used in the
joystick info dialog; <name>s should at least be used for entries with
OS specific indices)
2006-10-21 10:21:45 +00:00
mfranz
f5544f0cb9 turn <power> off for cyclic control on helicopters, that is: when a
property /rotors is available at joystick driver laod time. Note that
the FDM creates /rotors *afterwards*, so it needs to be defined in the
*-set.xml file already (which is the case for all helicopters in CVS).
A simple, self-ending <rotors/> tag should do.
2006-10-12 13:55:15 +00:00
mfranz
5d2316442b - use cmdarg().getParent() to access own property root
- use kbd-ctrl combinations for weapon control (at least one js in cvs
  should demonstrate that :-)
2006-06-24 18:18:01 +00:00
mfranz
50e2803aa8 Alexander Babichev, modified from Andy's X45.xml 2006-06-17 16:07:08 +00:00
mfranz
308cc9fcf5 additional name 2006-06-12 05:45:34 +00:00
mfranz
f4a7766013 remove garbage 2006-03-09 22:32:04 +00:00
mfranz
5672fdd382 - replace resetFOV() with view.resetFOV()
- make F1/F2 repeatable again, just don't repeat brake commands
2006-03-02 17:05:45 +00:00
mfranz
29906cdc0b brake bindings aren't repeatable 2006-03-01 18:55:48 +00:00
mfranz
ca9feebd38 - use brake wrappers
- use Vasilii method to reset FOV (F4+F1+F2)
2006-03-01 18:42:37 +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
curt
c92c733e93 Oops, try again. 2006-01-04 22:17:30 +00:00
curt
22118858b4 Reverse axes 4&5 for windows. 2006-01-04 22:16:51 +00:00
mfranz
ebf9d23f54 Curtis R Anderson: another <name> 2005-11-24 07:54:36 +00:00
curt
f90fb056d1 Match version with source. 2005-11-06 02:41:27 +00:00
curt
55ae4801f7 Curt Olson:
Initial revision.  This is the only joystick that the Walmart next to my
house is selling.  (What are you going to do?)  Buttons 2 and 4 are still
unmapped awaiting any good suggestions.
2005-09-09 01:43:07 +00:00
ehofman
02021216c2 Update to recognize the 'Saitek Cyborg Evo' 2005-08-22 17:55:40 +00:00
mfranz
d9cb887375 Juergen Tretthahn: s/stepFlaps/flapsDown/ 2005-07-01 05:20:24 +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
a943e01c6d Jim Campbell: another name; fixed <mac> axes 2005-06-20 17:12:16 +00:00
mfranz
6654497a78 cosmetics (only to annoy everybode) 2005-06-19 18:25:57 +00:00
mfranz
bc51a3df26 - exploit the nasal namespace feature, which simplifies matters a lot and
avoids the obscure and ugly "which" workaround

Note that the input subsystem sets variable "this" to this joystick's
base property path; This is useful to be able to access the driver's own
information from the property tree. Example:

   data = props.globals.getNode(this).getNode("data");

where "this" contains string "/input[0]/joysticks[0]/js[0]" if the js is
the first in the system
2005-06-19 17:29:56 +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
b104eef939 clean up, using the new possibilities of the input subsystem; preparation
for operation-modes; only one user visible change: the speed brake toggle
does now also show a popup like the thrust reverser and the parking brake;
I hope that this is seen as useful help rather than annoyance.
2005-06-13 06:41:30 +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
016238f66a Dave Perry:
This is an edit of this file that should work with either Windows or Linux.  As of a few days ago, the CVS file did not work at all.
2004-08-06 08:44:14 +00:00
ehofman
c752dc927d Add the Cyborg Evo from Phillip Jones. 2004-05-13 14:45:27 +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
andy
7babf42a23 Oops, include the windows driver name string too. 2004-04-30 15:26:55 +00:00
andy
cda071eac3 Fix a few windows issues with the axis mappings 2004-04-30 15:24:04 +00:00