1
0
Fork 0
Commit graph

61 commits

Author SHA1 Message Date
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
ehofman
efaab2be2a Fix the UNIX/Windows axis mismatch. 2004-04-29 09:14:14 +00:00
ehofman
c055153de5 Melchior FRANZ:
Add harrier/vtol support:

Display the Harrier's thrust vector setting.
0=vertical, 100=max forward flight, -20=max backward
2004-04-06 16:47:57 +00:00
ehofman
6f8a6bd045 Further refinements 2004-02-26 14:51:04 +00:00
ehofman
20d0cb3623 Melchior FRANZ:
- add zoom out/zoom in (F4 + F1/F2)
- make brakes a bit more effective
- fix references
2004-02-26 09:39:24 +00:00
ehofman
557737666f Add a more advanced configuration file for the Cyborg-Gold-3d-USB 2004-02-19 14:16:23 +00:00
curt
f7c276944e Attempt #1 to sort out confusion between left / right / parking brake
controls in the cockpit vs. which wheels they apply to.  FlightGear now
sets /controls/gear/brake-left, /controls/gear/brake-right, and
/controls/gear/brake-parking.  It should be up to the FDM to sort out
which wheels under which circumstances are affected by these controls
and ultimately what happens to the physical motion of the aircraft.
2004-01-12 17:49:33 +00:00
andy
35ec004c5f Nasal bindings for Saitek X45.
Misc. fixes to Nasal command bindings.
2003-12-23 17:31:08 +00:00
ehofman
d47f83ebc9 Update the four axis joystick to the new controlls layout and fix a mistake in the X8-30 configuration file 2003-12-22 14:57:53 +00:00
ehofman
0abab4423f Melchior FRANZ:
I'm using a different Joystick now, but these changes
were on my harddisk for a while and should be in CVS:
replace "squared" by "power 3" (the X8-30 is of rather
bad quality, and the 3 help to avoid jitter). Add
"interval-sec" settings.
2003-11-28 10:33:15 +00:00
ehofman
61327741bf Alex Perry:
Since several people on the list have been asking questions about this Saitek joystick and the comments at the top of this xml file in cvs were wrong and confusing, I am posting this update with the following changes:
1.  Removed the confusing/wrong comments.
2.  Added throttle bindings for engines 2 thru 7 (required for the b52).
3.  Changed the hat axis to rotate the view continuously (required to see the mag switch in the p51d and just a lot nicer with any 3d cockpit).

This last change makes the hat point the line of sight more like moving your head.  This is the way the CH pro-yoke-USB is set up.

If you are not used to this set up and you use aircraft with 2d pannels, you will likely need to use shift-nuberpad-8 to get the original forward view once you look arround.
2003-07-31 14:54:46 +00:00