1
0
Fork 0
Commit graph

221 commits

Author SHA1 Message Date
mfranz
bf2794eef6 Aerotow: Rockfire Gameport <-> USB converter, with a rather generic name :-/ 2007-06-22 17:10:25 +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
22e2a72f8e Jakub KLAWITER: "bindings for Boeder P-20 flightstick Pro USB" 2007-02-12 20:30:44 +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
martin
c7aace9926 Sava? Yatmaz:
Logitech Dual-action gamepad driver.
2007-02-08 06:56:19 +00:00
martin
d57c3fd6c4 The leaner, the merrier .... 2007-01-28 14:25:55 +00:00
martin
a10b396ffc Control the helicopter by RC control unit with MFTech RC USB-Interface 2007-01-27 22:07:31 +00:00
frohlich
ebbc3ba003 Modified Files:
ThrustMaster/HOTAS-Cougar.xml: Updates from Matthias Boerner
2007-01-21 18:34: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
57476a78e0 fix <power> type, turn it off by default, but leave it for easier tweaking 2007-01-17 12:40:44 +00:00
mfranz
e9cfd04488 Dave PERRY: Pro-Flight-Rudder-Pedals.xml config 2007-01-16 00:45:56 +00:00
mfranz
b309532bf2 - add <power> values
- use more controls wrappers
2007-01-15 23:14:57 +00:00
mfranz
3ba1323fe8 use controls.geatToggle() wrapper 2007-01-15 23:08:29 +00:00
mfranz
dfaec0a645 fix flaps, gear, brakes (make them use the controls wrappers) 2007-01-15 23:01:50 +00:00
mfranz
cbf2ad2f03 fix flaps and gear 2007-01-15 22:50:36 +00:00
mfranz
0d672a084b fix gear handling 2007-01-15 22:25:17 +00:00
mfranz
f99de31ad9 "wariat" from IRC: new joystick config
mf: fix inconsistent indentation; fix flaps; fix brakes; add <desc> for
    js info dialog
2007-01-15 18:35:12 +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
mfranz
9352c3ae4f more consistent capitalization 2006-10-21 13:51:42 +00:00
mfranz
b840984965 - add missing <desc>riptions
- random cosmetics
2006-10-21 11:27:58 +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
fredb
73878fc6b2 Fix axis numbers 2006-10-09 06:29:56 +00:00
andy
8ac2c6a674 Fix double-mapping of axis 3 on linux. Untested fix submitted by
tehquickness via IRC.
2006-08-18 18:17:54 +00:00
frohlich
cd74bc8572 Add additional name for windows 2006-08-11 22:19:47 +00:00
frohlich
b5e7fcc40e Add windows axis numbers. 2006-08-11 22:08:11 +00:00
mfranz
b5e45fde85 Stefan Seifert: first stab at joystick template file for new fgjs
mf: turn <name> into comment, so that the file won't be recognized as
    "named" joystick config; saves a few cycles ...
2006-07-04 23:31:44 +00:00
mfranz
672746597d Michelle: swap Aileron and Rudder 2006-06-24 23:31:36 +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
e332cd9f9a Michelle: config for a "Fujitsu Siemens Gamebird R/C Pilot" (4 Axes/1 Button) 2006-06-23 21:01:04 +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
frohlich
1aaa29ba7f Import Simped ruder pedal configuration from Matthias Boerner. 2006-06-11 13:41:28 +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
c149731efa Dave Perry: rewrite inspired by the Cyborg-Gold-3d-USB.xml driver 2006-05-08 10:13:29 +00:00
curt
8d83fe27cf Marc Pirrung:
I got a new joystick, a Speedlink Black Hawk (USB) with force feedback for
which I have written a setup xml file (see attachment) since with the default
setup, the rudder control didn't work.

Perhaps you could include it in the next version of Flightgear, such that
other users with the same joystick could immediately use it. The xml file
contains a description of the axis/button setup and should be self-explanatory.
I am using Windows XP but I guess the configuration should at least work on
all Windows platforms, no idea whether it works under Linux.

It would be great if one could get the vibration function to work (for
touchdown, running over uneven ground, plane stalling and the like) but I
frankly don't know how to do it. Has anybody already implemented force feedback?

Let me stress that Flightgear is a great sim and that I really enjoy it a lot!
You all are doing a great job!
2006-04-17 15:56:40 +00:00
mfranz
f4a7766013 remove garbage 2006-03-09 22:32:04 +00:00
curt
fb63a9934b Add another possible name. 2006-03-03 22:04:59 +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
ehofman
2ba4f91a2e Olaf Flebbe: Add a Microsoft SideWinder Force Feedback 2 configuration. Tested only on Windows. 2006-02-11 13:29:32 +00:00
ehofman
5ec08f65db Add the Mega World USB Game Controllers joystick from Andrea Vezzali 2006-01-21 10:20:36 +00:00
curt
f578bb59cd Fix name. 2006-01-17 15:44:00 +00:00
curt
24b3be37ef Updated comments. 2006-01-16 17:33:17 +00:00
curt
fb22d31586 Justin Smithies:
I've just purchased a Logitech Attack 3 usb joystick and it
works great with Flightgear.
It has 11 button and a throttle control.
I have attatched an xml file for inclusion into Flightgear.

The buttons are as follows:

Trigger Button 0 : Brakes
Button 3 : Elevator trim up
Button 2 : Elevator trim down
button 6 : Elevators up
button 7 : Elevators down
button 8 : Brake left
button 9: Brake right

With buttons 11 - Gear up
Button - 10 Gear down
2006-01-09 15:54:12 +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
mfranz
ee860f3e88 Stuart Buchanan:
joystick configuration for a Wingman Force 3D USB.

mfranz:
This driver is supposed to work for the non-USB versions, too, so
I'm replacing the non-USB driver with this one, and add its <name>s
here. If it turns out that we need a separate driver, it's better to
derive it from this file, as this is adapted to the newest methods
(nasal wrappers, etc.), while the old driver was only partly functional.
2005-10-26 17:40:41 +00:00
ehofman
1a966210b9 Mathias Fröhlich:
Here is an other one to the data directory. It updates the carrier launchbar
command and catapult launch command to reset itself if the key is no longer
pressed. That fixes the odd behavour, that once a carrier launch happened, a
second lauch happens no longer immediately at arresing time.
2005-10-13 13:45:54 +00:00
ehofman
52a134fae6 Frederic Bouvier:
The proper file ( the one with axis assignment set correctly for all OSes ) was too quickly removed, certainly because of its -win suffix.

I merged the good things in one file, discarding the problematic ones.
2005-10-06 09:34:50 +00:00
ehofman
bc5ca304ed Joystick updates. Remove an ancient windows specific version of the wingman-extreme. 2005-10-04 08:06:32 +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
0341e43fd4 Windows fixes from Bass Pumped. 2005-08-25 17:21:39 +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
94dc0aab8d another name ... 2005-06-18 12:21:11 +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
088f1e10c6 Vivian Meazza: js config for "Logitech Freedom 2.4" 2005-06-15 03:25:59 +00:00
mfranz
d432fe55d2 - one more <name>
- use nasal for throttle
- remove useless bindings
- description fix
2005-06-14 16:13:25 +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
e269ac696f The default joystick is now identified by name "default". It's very, very
unlikely, that some js producer uses this as product id.
2005-06-11 14:18:40 +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
b5a534d91f Melchior FRANZ:
The one hat axis should be 4 for Unix/Linux and 6 for windows (according
to someone on IRC), while the other hat axis is apparently 7 for all
systems. Changed the throttle to Nasal, too.

I didn't nasalify the rest, because that's error-prone and I wouldn't
be able to test it.
2005-04-19 12:39:02 +00:00
ehofman
6b32b71eda Remove a duplicate name, assume it is not the Pro version after all. 2005-03-19 10:22:00 +00:00
ehofman
03d53595ef Add Mac support 2005-02-11 15:30:45 +00:00
ehofman
91cbe910a7 Small time fixes. 2005-02-06 08:55:59 +00:00
ehofman
f0830a44bb Paul Surgean: The rudder and throttle need swapping based on the OS just like the Sidewinder Precision Pro. 2005-01-23 09:01:27 +00:00
ehofman
72b38ddd26 Fix a mistake. 2005-01-18 15:32:43 +00:00
ehofman
ee92540597 Oliver C., Erik Hofman:
Fix the inverted view elevation setting for the
sidewinder precision pro joystick under windows.
2005-01-18 10:09:18 +00:00
ehofman
bf8a0efaa5 Some final changes to the carrier keyboard configuration. 2004-12-20 13:53:21 +00:00
ehofman
296dbf5e79 Add a keyboard bindings configurtion file for carrier capable aircraft 2004-12-20 12:52:18 +00:00
david
8503b293ee Decrease aileron/elevator/rudder sensitivity near the centre, again. 2004-12-17 16:29:49 +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
e332ad1568 Oliver C.:
i modified the joystick settings for the Sidewinder Precision Pro joystick.
Now all buttons and axis react the same way in unix and windows except for
the view elevation binding which is on axis 5 in unix and 7 in windows.
Here the windows axis is inverse, the unix version is not.
This means if you move the hat down in unix you will look down
if you move the hat down in windows you will look up.
To fix this we would need some sort of property to inverse the axis independly
for windows and unix. If you know a way to do this feel free to fix this.


I also added some more button bindings.
With button 1 you can now switch between the views,
The brakes where moved from button 1 to button 0 because this button was
unused and users who want to switch from MS Flight Simulator to FlightGear
will like that too because the buttons are now used the same way on both
sims. With the unused button 8 (shift button), you can now retract the gears.

I also fixed the arrangement for the 4 buttons called A, B, C and D left to
the stick.
With button B you can now turn the flaps up and with button A down.
With button C you can use the left brake and with button D the right brake.
Before those changes the windows and unix bindings were different and somehow
unordered (crossed).

I tested this new Joystick settings in Windows Millenium and
Linux Slackware 10 with Flightgear 0.9.6 for windows and the newest cvs
version from today for Linux.
2004-11-08 17:35:17 +00:00
ehofman
73054589dc Dave Perry:
I use both Linux and Win XP with my CH yoke and pedals and noted that I have two different versions of the yoke xml with the mixture and prop axis reversed.  Here is an edit that works for me with both Win XP and Linux.
2004-10-31 15:02:29 +00:00
ehofman
1abbb76777 Make a distinction between UNIX and Windows and add the nasal version of flap stepping (again). 2004-10-16 08:44:19 +00:00
ehofman
870d7181c5 Haim GERON:
I had some problems with CH flight sim yoke usb. After some experiments, I modified the xml file and now it works fine.
2004-10-10 11:35:45 +00:00
ehofman
8844cb13ec Use a Nasal script instead of a fixed number of flap settings. 2004-08-15 09:19:36 +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
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
81e992e56f Add another name for the same device. 2004-07-21 06:55:15 +00:00
ehofman
af17319f36 Updated file. left/right break doesn't work yet, b
ut the previous file didn't work at all. Thanks Damon Toal-Rossi.
2004-07-16 20:17:36 +00:00
ehofman
c752dc927d Add the Cyborg Evo from Phillip Jones. 2004-05-13 14:45:27 +00:00