1
0
Fork 0
Commit graph

127 commits

Author SHA1 Message Date
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
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
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