1
0
Fork 0
Commit graph

20 commits

Author SHA1 Message Date
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
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
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
03d53595ef Add Mac support 2005-02-11 15:30:45 +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
adf13de3ee Add support for a joystick which calls itself 'Microsoft Microsoft SideWinder Precision Pro (USB)' 2003-11-28 09:16:06 +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
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
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