1
0
Fork 0
Commit graph

38 commits

Author SHA1 Message Date
Mathias Froehlich
4ffe03a85d Fix wrong axis for Throttle on Mac.
Thanks to Olaf Flebbe.
2011-05-17 21:10:36 +02:00
Frederic Bouvier
d48067c92d There is a trend in Win7: the manufacturer name disappeared from the joystick name. This one is from Olaf Flebbe 2010-12-04 10:26:31 +01:00
mfranz
855a3c143e Joonas Sarajaervi: one more name 2008-11-16 14:34:13 +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
b67402f084 use cmdarg().getParent() to access own XML structure ("this" will die) 2007-07-12 22:35:14 +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
fredb
73878fc6b2 Fix axis numbers 2006-10-09 06:29:56 +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
fb63a9934b Add another possible name. 2006-03-03 22:04:59 +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
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
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
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
03d53595ef Add Mac support 2005-02-11 15:30:45 +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
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
796354421d Update the header to match the configuration file. 2004-04-29 09:18:57 +00:00
ehofman
996ed1a717 Adjust the joystick configuration to match the new code changes. 2004-04-28 08:23:38 +00:00
ehofman
483b300774 Add support for a Windows version of the SideWinder Precision Pro joystick. 2004-04-27 08:45:01 +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
ehofman
1afef5b03e Add support for the 'Microsoft SideWinder 3D Pro' joystick 2003-11-28 09:22:52 +00:00
ehofman
adf13de3ee Add support for a joystick which calls itself 'Microsoft Microsoft SideWinder Precision Pro (USB)' 2003-11-28 09:16:06 +00:00
ehofman
d92d080236 Update joystick bindings 2003-11-03 10:23:47 +00:00
ehofman
6fdb74ea5a Fix a typo 2003-09-16 08:18:40 +00:00
ehofman
43fd209d1e Add support for the SideWinder Precision Pro joystick 2003-07-27 07:43:56 +00:00
ehofman
ce8cb1e03a Add the Microsoft Sidewindows Force Feedback Pro joystick 2003-06-29 19:09:33 +00:00
ehofman
dd0090a765 Add bindings for up to 8 engines 2003-06-29 17:47:28 +00:00
ehofman
acb9f1db90 Add WillyB's Microsoft Sidewinder joystick configuration file 2003-06-29 17:39:15 +00:00
ehofman
6800b9728d Melchior FRANZ:
here's the promised patch:

- make throttle work for 8 engines (b52)
- resolve multiple property bindings (simply stating
  more than one property per binding doesn't do anything;
  this has to be written as two bindings; didn't touch
  "Reset View" button in X45, though)
- add $Id$ lines
- adjust step size in "my" joystick file (X8-30) to
  work best on a 2.4GHz computer  :->

I didn't add entries for propeller related properties, such as mixture, prop-pitch, and I didn't change the boost property. These are still for at most two engines.
2003-06-29 08:33:59 +00:00
ehofman
759d86d947 Updates to refelect the controls update of FlightGear. It could be there are a few unupdated controls left. To simplify the transisition there is a file called README.properties in the docs-mini directory of FlightGear that explains the new controls layout. 2003-04-01 12:41:12 +00:00
j4strngs
a191dff43b Remove excess name tags 2002-09-09 00:48:08 +00:00
jimw
2e38afe1a8 Added support for non FF sidewinder precision 2 usb. This should also work
with Sidewinder Pro 3d but I do not have a string.  Also I do not have the
non-English strings for the USB stick.  Note that this config is similar to
the Force feedback stick, except the axes for the rudder and throttle are
different on the Precision 2 USB and Pro 3d sticks.
2002-09-04 01:43:40 +00:00
j4strngs
3795200ae6 Updated preconfigured joystick files 2002-09-01 21:33:31 +00:00
david
cd175b943f Added custom configuration for Microsoft SideWinder Force Feedback
from Frederic Bouvier.
2002-07-04 20:42:10 +00:00