1
0
Fork 0
Commit graph

346 commits

Author SHA1 Message Date
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
Torsten Dreyer
50287bdee7 Remove clouds dialog from multikey
The dialog is gone, use Global-Weather instead.
2010-10-07 18:00:32 +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
Mathias Froehlich
2ed790eb4b Add a similar device. 2010-05-23 11:03:05 +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
torsten
1ed2d16f22 New definition for FlightLink's Rudder Control Module.
Didn't work in Linux because of a quirk in the controller and the joydev kernel module.
Works out of the box now. (Requires HID/eventinput enabled)
2009-10-02 19:00:15 +00:00
curt
10e9086b69 New joystick definition from tarot at unistra dot fr 2009-10-01 01:33:52 +00:00
torsten
b005174e7c added the debug-events tag 2009-08-12 06:09:13 +00:00
torsten
6856dd15dc Initial support for the 3dconnexion SpaceNavigator 3D-mouse.
Needs the event input subsystem.
2009-08-11 15:57:32 +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
mfranz
14e88cef3b :Dh opens chat history dialog 2009-05-25 19:29:02 +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
vmmeazza
1e0c868a89 Fix typo 2009-02-01 23:15:03 +00:00
mfranz
ffe72c79d3 Ron JENSEN: add names 2009-01-10 23:41:29 +00:00
mfranz
5df46f3e5c - add controls.wingsDown() wrapper
- carrier-bindings.xml: remove trailing spaces & add some blanks
2008-12-17 18:42:41 +00:00
abory
acec163fc1 - Fixed typos. 2008-12-17 11:35:56 +00:00
mfranz
3eb0493c7d - :DY opens Nasal Console
- no CDATA indentation
2008-12-04 11:36:00 +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
090679e524 :Ym dumps Google Maps link for current position to terminal 2008-11-19 22:21:42 +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
996fd73c0c - let F12 pop up radio settings dialog (used to be Ctrl-r)
- disable "reload global preferences", which is semi-broken
2008-10-08 21:59:31 +00:00
mfranz
ce0504cfd4 - move development functions from function keys to :Y (multikey)
- move replay from 'r' to 'Ctrl-r' where it is less dangerous
2008-10-07 20:13:34 +00:00
mfranz
4f7c928cb6 - use aircraft.teleport() function
- implement :%0 to :%4 as :%<digit>
2008-10-03 10:49:50 +00:00
mfranz
fbef57eab3 - fix :Pg (Position on ground): s/seed/speed/
- add :%0 to :%4 for OSG on-screen statistics levels (3 and 4 need OSG/HEAD)
- add setpropf() and getpropf() functions
2008-10-03 09:51:55 +00:00
tat
1f6a12a0f6 Fixed: tacan channel postfix - from {x,y} to {X,Y} 2008-10-02 17:48:24 +00:00
tat
f691df726b Removed RouteManager raw command, and added add/delete/insert/clear/pop commands 2008-10-02 15:56:48 +00:00
mfranz
2ee5fbb2c6 - remove the Q section (this was meant to be an Easter Egg, but that
doesn't work out well with the option display and the help output)
- add notes about (for now?) reserved keys
- remove useless CDATA in my code parts
2008-10-02 15:21:49 +00:00
mfranz
f754102ae3 - add TACAN function
- remove redundant "Radio" in radio entries
- fix location-on-ground
2008-10-02 11:39:45 +00:00
tat
d5877f3c5e Sorted the top level keys 2008-10-01 19:36:46 +00:00
tat
a8a95805b9 Added: command :ar<command> to execute route manager command; e.g. :ar@insert-1:KSFO will append KSFO to the waypoint list 2008-10-01 19:28:47 +00:00
tat
8c906246fa Added: command :Pg<airport>[ <runway>] to specify position on ground 2008-10-01 18:44:32 +00:00
mfranz
22e2ef502d :rc%us%f ... set comm%u standby frequency
:rn%us%f   ... set nav%u standby frequency
:rt%3u[xy] ... set tacan channel %u[xy]
2008-10-01 17:56:42 +00:00
mfranz
32c5cde2f0 move improved help screen generator multikey.{xml -> nas} 2008-10-01 16:30:25 +00:00
mfranz
ac1fbbbd66 colorize :? 2008-10-01 13:40:43 +00:00
mfranz
273788c75e remove v-group (this was only an example for testing purposes) 2008-10-01 13:04:23 +00:00
mfranz
0b2eab1196 output multikey command list with :? 2008-10-01 12:55:42 +00:00
mfranz
5917ef8cb3 add D (Dialog) entries 2008-10-01 12:23:24 +00:00
mfranz
5de5a3bf0c Oliver SCHROEDER: "config for the Saitek Pro Flight Yoke" 2008-09-30 20:45:02 +00:00
mfranz
0a15636bd4 :e -> {m,p,t} -> {<value>,CurUp,CurDn} adj. mixture/prop/throttle sel eng.
Same with  :e<number>...  for this engine only
2008-09-30 20:36:07 +00:00
mfranz
c7340f12bc more documentation & some cosmetics 2008-09-29 20:20:13 +00:00
mfranz
85c552c883 add documentation 2008-09-29 15:06:03 +00:00
mfranz
a472c009a7 - s/desc/_/ for return values
- return trim values
- more float precision limits
- consistency
2008-09-29 14:09:45 +00:00
mfranz
2690987d74 add per-engine throttle/mixture/prop-pitch settings: :e2m0.5 2008-09-28 21:51:25 +00:00