1
0
Fork 0
Commit graph

261 commits

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