1
0
Fork 0
Commit graph

313 commits

Author SHA1 Message Date
ThorstenB
fa4e71a246 #580 related: inconsistent button description
Buttons were inconsistenly documented as mixture and flap controls.
2012-01-09 20:47:06 +01:00
Stuart Buchanan
f73cd19773 Add additional name for the Black Widow "SL-6640 Black Widow Flightstick" 2011-12-28 11:55:46 +00:00
Gijs de Rooy
a955b5b416 Add another accelerometer 2011-12-12 21:08:22 +01:00
Melchior FRANZ
6088b75a52 warthog: IOrules need read permissions as well 2011-12-10 20:17:30 +01:00
Melchior FRANZ
a29f5d63e2 warthog: stick_rotate: re-attach listeners (nicer for development) 2011-12-10 20:17:30 +01:00
Gijs de Rooy
4664de903d Add another accelerometer, to prevent it from acting as a joystick. 2011-12-09 07:58:08 +01:00
Melchior FRANZ
a957cf9797 warthog: support multiple overlay files; stick rotate; read hw state 2011-10-25 21:48:57 +02:00
Melchior FRANZ
556f07b212 warthog: improve linux/hidraw interface 2011-10-03 13:36:49 +02:00
Melchior FRANZ
7d9ea536f7 warthog: first stab at throttle hardware config (backlight + LEDs)
This works under Linux only, which is certainly suboptimal. But there's no
reason why support for other OSes couldn't be added later, and there's no
reason to not support Linux now, either. The code can set the throttle's
backlight brightness and the five programmable LEDs. As a demonstration,
the latter is currently used for a gear-down warning. Support for setting
the stick's hardware deadzone is planned. (It's on by default.)

The mechanism writes directly to Linux' hidraw devices, which requires
some simple configuration. This is described in the README. It doesn't
depend on any external utility.
2011-10-02 21:56:28 +02:00
Melchior FRANZ
0543d8fead js overlay to make speedbrake work on broken seahawk 2011-10-01 10:12:32 +02:00
Melchior FRANZ
fa1593f9f0 warthog: tailwheel/reverser/speedbrake + cleanup
Unfortunately, some aircraft (seahawk) don't play nice and ignore the
common speedbrake property, inventing their own. (These basic concepts
must be *really* hard to understand ...)
2011-09-30 21:48:06 +02:00
Vivian Meazza
8566fd61d6 Merge branch 'master' of gitorious.org:fg/fgdata into work 2011-09-25 11:01:30 +01:00
Vivian Meazza
e0a05f052d New joystick by Erik Streb del Toro
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-09-25 10:59:30 +01:00
Melchior FRANZ
d300b92b9d warthog: gear; swap DMS/TMS (again); time based view reset 2011-09-24 19:26:31 +02:00
Melchior FRANZ
4cdc3a64aa warthog: don't attach listener again on "Reload Input"; fix overlay path 2011-09-22 18:14:43 +02:00
Melchior FRANZ
8fd08c7e03 warthog: add missing file 2011-09-15 21:38:47 +02:00
Melchior FRANZ
76b1d549a5 warthog: move js config files into Warthog dir; add more overlays 2011-09-15 21:26:08 +02:00
Melchior FRANZ
1a4fa0b16f warthog: fix trimming; more bindings (similar to cougar) 2011-09-11 20:25:22 +02:00
Melchior FRANZ
a6c2cfa172 warthog: add first aircraft specific overlay file
These files take complexity out of the main joystick file, while
not adding much code. They also update the description (<desc>)
used by the Help->Joystick information dialog. All <nasal> code
is executed in the joystick's namespace, so variables and funtions
of the main file (popup()) can be accessed.
2011-09-11 14:33:11 +02:00
Melchior FRANZ
587993138c warthog: simplify overlay handling, more bindings 2011-09-10 22:40:27 +02:00
Melchior FRANZ
820323e854 warthog: add js overlay support
This allows to have generic axis/button definitions with aircraft
specific or aircraft class specific modification overlays. These
are also found in $FG_HOME, where they override global files. This
mechanism is desirable, because the Warthog is an A-10 replica, and
it should be possible to have an automatically loaded (1:1 mapped)
A-10 joystick config when flying the A-10, while using generic layouts
otherwise, or a specific helicopter overlay for helicopters etc.

Overlay files look exactly like joystick config files, except they
have no <name> and only specify actually differing elements. Axes
with <number> *need* a property index (e.g. <axis n="2">), which
usually corresponds to the <unix> value (i.e. n'th axis def in file).
Overlay files can contain a <nasal> block which is executed on
load. The files are to be named {$FG_ROOT,$FG_HOME}/Input/Joysticks/\
ThrustMaster/Warthog/{Joystick,Throttle}/{generic,helicopter,<aircraft>}\
.xml.
2011-09-10 13:33:21 +02:00
Melchior FRANZ
ea0c72494d first draft of Thrustmaster HOTAS Warthog js config (WIP) 2011-09-09 20:02:01 +02:00
Durk Talsma
6ebf37316d Added a new joystick configuration file for the Saitek combat pedals. Contributed by Janet Plato. 2011-08-23 22:33:46 +02:00
Durk Talsma
b98a091e0b Fix axis bindings for windows. Make compatible with windows. 2011-08-21 14:28:36 +02:00
Stuart Buchanan
143eea87cd Decrease sensitivity of the CH pedals. 2011-08-07 13:45:28 +01:00
Vivian Meazza
5446f21e47 Add mac axes and buttons.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-05 14:26:41 +01:00
ThorstenB
73435766aa issue #15: updated Saitek X52 joystick config
Thanks to John Denker, tested by Thomas
2011-05-27 22:00:22 +02:00
Gijs de Rooy
876280bd26 ThrustMaster T.Flight Stick X definition by Joffrey Paris 2011-05-22 17:33:38 +02:00
Mathias Froehlich
4ffe03a85d Fix wrong axis for Throttle on Mac.
Thanks to Olaf Flebbe.
2011-05-17 21:10:36 +02:00
Curtis L. Olson
f6ac636f0a Initial revision by Roberto Inzerillo. For older logitech wingman attack
joystick (gameport version.)
2011-03-25 11:47:55 -05:00
Anders Gidenstam
4ce1cb9a6c Input/Joysticks/Saitek/Aviator.xml: Activated the dead-band elements. 2011-02-21 22:50:55 +01:00
ThorstenB
17ac428f43 Adrien Bailly: Thrustmaster T.Flight Hotas X joystick support
thanks to him, 'flug' and the forum
(also removed a debug line from route-manger GUI)
2011-01-24 19:35:35 +01:00
Vivian Meazza
70803c0740 Add <name>Logitech Logitech Extreme 3D</name>.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-01-06 17:08:39 +00:00
Vivian Meazza
a766fc7c69 Bugfix.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-01-06 00:04:43 +00:00
Curtis L. Olson
33b14380bc New joystick config: speedlink black widow force 2011-01-04 10:28:10 -06:00
Durk Talsma
06d4257bd1 Added Spoiler deploy/retract commands to the currently unassigned T5 and T6 buttons. 2011-01-03 09:26:40 +01:00
Anders Gidenstam
274e20ee1f Input/Joysticks/Saitek/Aviator.xml: Add squared to stick and rudder. It is needed. 2011-01-02 09:04:12 +01:00
Gijs de Rooy
f278ec0389 Joystick file for Genius F-31U VIBRATION USB 2010-12-19 18:41:14 +01:00
Stuart Buchanan
9fd82c3068 Switch off repeatable flap changes - not applicable to most aircraft. 2010-12-16 22:05:57 +00:00
Anders Gidenstam
6afac31ea5 Input/Joysticks/Saitek/Aviator.xml:
- Disable squared (if it has indeed ever been on).
2010-12-11 22:07:21 +01: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
Torsten Dreyer
6edecc56c4 Merge commit 'refs/merge-requests/37' of git://gitorious.org/fg/fgdata into integration 2010-11-27 21:20:47 +01:00
Frederic Bouvier
6e173b0556 Add Windows name for Thrustmaster T.16000M 2010-11-17 23:15:40 +01:00
Henrik Pihl
de4319af19 New joystick definition. 2010-11-15 15:50:48 +02:00
BARANGER Emmanuel
a3f838c414 - New input file by _obook 2010-11-12 20:07:43 +01:00
Jon Stockill
e76af4553c Add joystick config to disable known hdd protection accelerometers 2010-11-05 13:26:00 +00:00
Anders Gidenstam
81e0e06a31 Input/Joysticks/Saitek/Pro-Flight-Quadrant.xml:
- Improved multi-mode axis control with the new per-engine axis handlers.
- Prepared all bindings for per-OS number selection
2010-10-30 16:42:07 +02:00
Anders Gidenstam
00cbdf38b7 Input/Joysticks/Saitek/Aviator.xml: Improved the joystick configuration.
- Prepared all bindings for per-OS number selection
- Use the new per-engine axis handlers.
- Added missing var keywords.
2010-10-30 13:31:15 +02:00
Frederic Bouvier
a2d80789b7 Merge commit 'refs/merge-requests/19' of git://gitorious.org/fg/fgdata into gral/joystick 2010-08-13 22:18:35 +02:00
gral@who.net
7f01899e61 Fixed a typo in <mac> definition for CH Pro Yoke USB 2010-08-13 15:04:11 +02:00
gral@who.net
6f2edea51f Making Joystick Extreme 3d Pro avaiable for OSX 2010-08-13 10:41:40 +02:00
Stuart Buchanan
1d64f047e5 Minor update to CH fighterstick to handle stepless flaps 2010-08-10 22:57:15 +01:00
Dave Perry
d48dfacf11 Added landing light effects to pa24-250, corrected CH/pro-yoke-usb rudder trim directions. 2010-07-01 16:41:24 -06:00
Durk Talsma
898b30923a Small update to Saitek Pro Flight Yoke:
- Improved View Switch
 - Simple Autothrottle function
2010-06-15 00:28:42 +02:00
vmmeazza
bbaeb45aea Comment out the default Vista name 2010-02-12 22:56:24 +00:00
vmmeazza
3cd4c6761a New joystick by Mike Nieber 2010-02-12 21:59:07 +00:00
vmmeazza
cce90b6001 Use generic trigger property. Add features for use with CTRL 2010-02-03 23:02:14 +00:00
curt
10e9086b69 New joystick definition from tarot at unistra dot fr 2009-10-01 01:33:52 +00:00
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
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
mfranz
ffe72c79d3 Ron JENSEN: add names 2009-01-10 23:41:29 +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
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
5de5a3bf0c Oliver SCHROEDER: "config for the Saitek Pro Flight Yoke" 2008-09-30 20:45:02 +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