1
0
Fork 0
Commit graph

338 commits

Author SHA1 Message Date
stuart
cb9365a661 Updated FighterStick bindings:
- Trigger is now used as a trigger
- Top left button now PTT switch for FGCOM
- View movement now 30 degree steps.
- Rudder trim corrected.
2009-07-04 20:28:55 +00:00
mfranz
14e88cef3b :Dh opens chat history dialog 2009-05-25 19:29:02 +00:00
curt
747ceb6874 Peschiutta Gianni:
Hi, I recently complete the Pro-Flight-Yoke.xml for my personal same
device on linux. I add POV view control, view switching on E button,
zoom on B1/B2, parking brake on D button.
2009-05-22 15:00:50 +00:00
mfranz
69ff141427 Brandano: s/property/script/ 2009-05-06 18:17:59 +00:00
mfranz
89acf3130a Anders GIDENSTAM: "I have (hopefully) fixed the weapon select buttons now" 2009-03-08 20:08:59 +00:00
mfranz
c928627c15 Anders GIDENSTAM: update 2009-03-08 19:42:12 +00:00
mfranz
0d70ec48da Jari Haekkinen: throttle axis #2 -> #3 for OSX 2009-03-03 21:31:03 +00:00
mfranz
c07a989790 Rodrigo SEVERO: "Logitech Logitech Force 3D Pro" config 2009-02-07 18:28:45 +00:00
vmmeazza
1e0c868a89 Fix typo 2009-02-01 23:15:03 +00:00
mfranz
ffe72c79d3 Ron JENSEN: add names 2009-01-10 23:41:29 +00:00
mfranz
5df46f3e5c - add controls.wingsDown() wrapper
- carrier-bindings.xml: remove trailing spaces & add some blanks
2008-12-17 18:42:41 +00:00
abory
acec163fc1 - Fixed typos. 2008-12-17 11:35:56 +00:00
mfranz
3eb0493c7d - :DY opens Nasal Console
- no CDATA indentation
2008-12-04 11:36:00 +00:00
mfranz
e5c2a2c1d0 "SteveStevens": another name 2008-11-30 22:01:48 +00:00
tat
39934667aa Exchange axis 2 and 3 for Mac OS X 2008-11-20 18:14:00 +00:00
mfranz
090679e524 :Ym dumps Google Maps link for current position to terminal 2008-11-19 22:21:42 +00:00
mfranz
855a3c143e Joonas Sarajaervi: one more name 2008-11-16 14:34:13 +00:00
mfranz
80b88416a7 Dmitry "DimkaS" Koroban: Genius F23-USB js config 2008-10-25 21:14:03 +00:00
mfranz
c0b2e1256e use bits functions & cleanup 2008-10-22 23:05:54 +00:00
mfranz
996fd73c0c - let F12 pop up radio settings dialog (used to be Ctrl-r)
- disable "reload global preferences", which is semi-broken
2008-10-08 21:59:31 +00:00
mfranz
ce0504cfd4 - move development functions from function keys to :Y (multikey)
- move replay from 'r' to 'Ctrl-r' where it is less dangerous
2008-10-07 20:13:34 +00:00
mfranz
4f7c928cb6 - use aircraft.teleport() function
- implement :%0 to :%4 as :%<digit>
2008-10-03 10:49:50 +00:00
mfranz
fbef57eab3 - fix :Pg (Position on ground): s/seed/speed/
- add :%0 to :%4 for OSG on-screen statistics levels (3 and 4 need OSG/HEAD)
- add setpropf() and getpropf() functions
2008-10-03 09:51:55 +00:00
tat
1f6a12a0f6 Fixed: tacan channel postfix - from {x,y} to {X,Y} 2008-10-02 17:48:24 +00:00
tat
f691df726b Removed RouteManager raw command, and added add/delete/insert/clear/pop commands 2008-10-02 15:56:48 +00:00
mfranz
2ee5fbb2c6 - remove the Q section (this was meant to be an Easter Egg, but that
doesn't work out well with the option display and the help output)
- add notes about (for now?) reserved keys
- remove useless CDATA in my code parts
2008-10-02 15:21:49 +00:00
mfranz
f754102ae3 - add TACAN function
- remove redundant "Radio" in radio entries
- fix location-on-ground
2008-10-02 11:39:45 +00:00
tat
d5877f3c5e Sorted the top level keys 2008-10-01 19:36:46 +00:00
tat
a8a95805b9 Added: command :ar<command> to execute route manager command; e.g. :ar@insert-1:KSFO will append KSFO to the waypoint list 2008-10-01 19:28:47 +00:00
tat
8c906246fa Added: command :Pg<airport>[ <runway>] to specify position on ground 2008-10-01 18:44:32 +00:00
mfranz
22e2ef502d :rc%us%f ... set comm%u standby frequency
:rn%us%f   ... set nav%u standby frequency
:rt%3u[xy] ... set tacan channel %u[xy]
2008-10-01 17:56:42 +00:00
mfranz
32c5cde2f0 move improved help screen generator multikey.{xml -> nas} 2008-10-01 16:30:25 +00:00
mfranz
ac1fbbbd66 colorize :? 2008-10-01 13:40:43 +00:00
mfranz
273788c75e remove v-group (this was only an example for testing purposes) 2008-10-01 13:04:23 +00:00
mfranz
0b2eab1196 output multikey command list with :? 2008-10-01 12:55:42 +00:00
mfranz
5917ef8cb3 add D (Dialog) entries 2008-10-01 12:23:24 +00:00
mfranz
5de5a3bf0c Oliver SCHROEDER: "config for the Saitek Pro Flight Yoke" 2008-09-30 20:45:02 +00:00
mfranz
0a15636bd4 :e -> {m,p,t} -> {<value>,CurUp,CurDn} adj. mixture/prop/throttle sel eng.
Same with  :e<number>...  for this engine only
2008-09-30 20:36:07 +00:00
mfranz
c7340f12bc more documentation & some cosmetics 2008-09-29 20:20:13 +00:00
mfranz
85c552c883 add documentation 2008-09-29 15:06:03 +00:00
mfranz
a472c009a7 - s/desc/_/ for return values
- return trim values
- more float precision limits
- consistency
2008-09-29 14:09:45 +00:00
mfranz
2690987d74 add per-engine throttle/mixture/prop-pitch settings: :e2m0.5 2008-09-28 21:51:25 +00:00
mfranz
7fd2b75deb various formal improvements 2008-09-28 20:24:20 +00:00
mfranz
e95edc0b43 Tatsuhiro NISHIOKA & /me: first draft of multikey definitions 2008-09-28 14:36:38 +00:00
mfranz
3ab061089f Ron JENSEN: yet another <name> (mf: reordering a bit) 2008-08-02 17:43:19 +00:00
mfranz
de1c7d6e09 AJ MacLEOD: Trust GM-2600 'Predator' js config 2008-07-07 19:17:32 +00:00
mfranz
84044b4603 Georg VOLLNHALS & someone on the German fgfs forum: yet another name for this js 2008-06-17 21:40:51 +00:00
mfranz
fd983fd62c Ron JENSEN: config for 'Saitek Saitek Pro Flight Quadrant'
Axis Left to Right: Throttle, Prop Pitch, Mixture
Buttons Left to Right: Flaps, Trim, Gear (up is up, down is down)
2008-06-01 06:42:05 +00:00
mfranz
fe5c2ebb65 Lauri "zan" PELTONEN: add "Saitek Cyborg Evo Force" 2008-04-23 20:54:14 +00:00
vmmeazza
272812ad12 Logitech changed the reported name in the latest driver. 2008-04-06 08:59:56 +00:00
mfranz
eafdb11f0e Anders GIDENSTAM:
"Added push-to-talk, multiengine throttle modes and axis assignments for Windows."
2008-03-18 20:00:07 +00:00
mfranz
359322e585 s/linux/unix/ 2008-02-28 21:00:27 +00:00
tat
3850ca7b76 Fixed: axis 3 was assigned for rudder on Mac - should be 2 2008-02-28 14:57:40 +00:00
mfranz
74678d856d Sven ALMGREN:
"Saitek Pro-Flight-Rudder-Pedals's name differs in windows from linux,
and the axis for the rudder is 3, not 2... assumes Mac uses same channel
as windows, but could be wrong... linux is set to channel 2, and windows
and mac is set to 3"
2008-02-27 17:58:38 +00:00
stuart
318e5d28c5 Correct axis bindings for Linux. 2008-02-15 22:05:57 +00:00
stuart
f937d989a9 Additional name for CH Fighterstick. 2008-02-12 22:05:28 +00:00
stuart
43cf56ad9a Joystick Definition for CH Products Fighterstick USB. 2008-01-06 10:36:11 +00:00
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
b67402f084 use cmdarg().getParent() to access own XML structure ("this" will die) 2007-07-12 22:35:14 +00:00
mfranz
7a33a523b8 remove garbage from button definition 2007-06-23 16:39:43 +00:00
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