1
0
Fork 0
Commit graph

129 commits

Author SHA1 Message Date
ThorstenB
b34be9cf92 issue #127: make screen shots work with OSG multi-threading
Use listener to report success/error messages for screen shots
(depends on simgear+fgdata update!)
2011-05-28 23:22:34 +02:00
ThorstenB
c8f8069a70 Use new fgcommand for "pause" to keep master and clock freeze consistent
when (un)pausing.
2011-05-21 13:29:14 +02:00
Curtis L. Olson
7222153859 Nasal style improvements suggested by MF. 2011-05-04 08:00:45 -05:00
Curtis L. Olson
b2f9f52f88 Add a basic "ok" message if an error condition occurs with the snapshot
(based on tip from Melchior)
2011-05-03 10:51:38 -05:00
Curtis L. Olson
e8015f0840 Add warning message if attempting to take a snapshot with a non-singlethreaded
threading model defined.
2011-05-03 10:18:37 -05:00
ThorstenB
93b8d1e38c Improve replay dialog 2011-03-24 23:32:55 +01:00
Torsten Dreyer
b43b53c977 Fix bug #253, at least partially
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
Corresponds to commit e86cecf4704a4bdcf43114245d8ac94adb1f1eef
in fg/next
2011-01-19 19:42:40 +01:00
Dave Luff
9f0d84476f Don't show the interactive ATC dialog
At the moment this dialog simply misleadingly states that we are not
tuned to any ATC service regardless of the radio settings, so better
to disable it for the release.
2010-12-30 23:43:49 +00:00
willie
821fae4a03 further changes to the menu structure
split AI carrier options to its own menu
moved "advanced" menu items to Debug
removed several redundant items
rationalised the placement of some items
started adding keyboard shortcuts

TODO:   reinstate AI Scenario menu item (position to be conmfirmed)
        get feedback
        add more : keyboard shortcuts
2010-09-07 19:59:00 +01:00
mfranz
d6e96199eb use controls.startEngine(0) for starter release (easier to override) 2009-03-14 20:56:06 +00:00
mfranz
a1dd828085 that's one way to get a high commits number ;-) 2009-01-30 22:16:33 +00:00
mfranz
fee73a12cb osg reports Return as key 10 (\n), while plib reported it as 13 (\r) 2009-01-30 22:14:11 +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
40f2977030 start vi-like multiple-key commands with ':'
Note that this key does sometimes fail to work. This is caused by the
way our keyboard works ATM. On an (US)English keyboard : and ; are on
the same key. If you do  Press-Shift >> Press-: >> Release-Shift -> Release-:
then not the ':' is released, but the ';'. The ':' remains registered as
pressed, so the next press fails. Another press restores the function.
We fixed this for the letter keys, as it is safe to assume that 'a' and
'A' are on the same key. Unfortunately, we can't make such assumptions
for non-letter keys. We should really track the HW-key numbers, not
the symbols printed on them!
2008-09-28 20:33:30 +00:00
mfranz
be69a60b3e keyboard.xml: define modifier bit values 2008-08-14 22:26:09 +00:00
mfranz
0116c65fc4 ctrl-i happens to be the same key as Tab, and this does often pop up the
dialog when one actually wanted to switch virtual desktops. There's no need
for a keyaboard shortcut, as the dialog is available from the menu and not
needed that often.
2008-08-09 19:57:32 +00:00
mfranz
7707ddad32 - replace depreciated fgcommand "old-reinit-dialog" by "reset"
- keyboard.xml: cosmetics
2008-07-09 12:26:18 +00:00
mfranz
e603302d8d use fgcommand("screen-capture") return value to show error message 2008-04-26 22:36:04 +00:00
mfranz
eee5773db5 use modifier mask as reported by the input system 2008-04-26 13:28:47 +00:00
mfranz
6ebad8c31e ... commented out, I said! 2008-04-20 19:03:41 +00:00
mfranz
367d68ca9b - update comment: the '*'-key is no longer hard-coded
- add commented out key log command, which helps with finding keycodes
2008-04-20 19:03:16 +00:00
mfranz
217cbcae34 add mod-up action to magneto keys, and ignore that in the controls wrapper;
This allows to implement car-like combined magneto/starter switches.
2008-02-23 18:18:55 +00:00
martin
33277e0730 Stuart Buchanan:
1) The chat menu will now select the runway closest to the aircraft
   when the aircraft is on the ground, or very low (< 100ft). This
   handles the case where the user has selected a runway explicitly,
   e.g. 01R for KSFO take-offs for noise abatement. My thanks for
   AnMaster for pointing this out on IRC. Note that above 100 ft, the
   wind-appropriate runway will still be used.
2) Change to keyboard description for the - key, as pointed out by
   Melchior.
2007-12-11 15:20:00 +00:00
mfranz
ee6dcb6d33 fix broken indentation 2007-12-08 19:30:20 +00:00
vmmeazza
4ee3367452 Stuart Buchanan:
Add chat menu
2007-12-08 19:01:03 +00:00
mfranz
f4b02d7622 fix /-key desc 2007-11-26 17:55:28 +00:00
mfranz
73c0285ef9 - remove property browser binding from the <SPACE> key
- rename prop-key-handler.nas to prop_key_handler.nas  (the hyphens were
  intentional, exactly to *make* using it as namespace less inviting,
  but times change ...)
- add property browser binding to the '/'-key for when the property key handler
  is turned off (/sim/input/property-key-handler=0). If it's on, use /: or
  /<property>: to open the browser.
- run keyboard event listener only when property key handler is active

I hope that the '/' key can keep this binding even after a keyboard review.
The '/' is just the most natural key for dealing with properties, and it's
far less prominent on non-US-keyboards (e.g. Shift-7 on German keyboards),
so it's not really very well suited for important aircraft functions, anyway.
But I don't insist. :-)
2007-11-26 16:12:37 +00:00
david
dae68bec13 Revert to previous version -- toggle lighting is not bound for now. 2007-11-13 14:42:44 +00:00
david
daf6e12bc9 Reassign tail-wheel locking from 'l' to 'L' (previously unused), and
use 'l' to toggle lighting.
2007-11-10 01:30:04 +00:00
mfranz
0561fc2e1f use "var" keyword to make "local" variables really local 2007-08-01 08:20:21 +00:00
mfranz
64936b6297 remove forgotten garbage in the s-key def 2007-07-19 21:31:24 +00:00
mfranz
e87a969fdc - move "open property browser" back to SPACE (for now any modifier combination
other than Shift-SPACE or SPACE alone). The move to Shift-Enter was bad,
  as all Return combinations are filtered by open dialogs with <default>
  set. SPACE remains reserved for communication functions (PTT), though, and
  the property browser will be moved away if more combinations are needed for it.
- some comments in the file head
2007-07-19 10:49:34 +00:00
mfranz
05b3db2d31 minor cleanup 2007-07-13 16:52:39 +00:00
mfranz
3c08f34027 - move "swap panels" from s-key to S-key
- move "fire starter" from SPACE-key to s-key
- move "open property browser" from Shift-SPACE to Shift-Enter (Shift-Return)
- implement PTT on SPACE/Shift-SPACE  (with the other six SPACE/modifier
  combinations unused, apart from a popup)
- add controls.ptt(v) wrapper function (v can be 1 or 2 for on, and 0 for off)

Easter-Egg:
- pressing the t-key for at least one second resets the warp delta.
  This is an experimental feature that most people won't notice. It's meant
  for investigating if suchlike "unorthodox" key use is acceptable. While
  modifier-keys are the norm on computer keyboards, modifier-times aren't,
  although we are used to them from other devices, such as alarm clocks etc.)
  May later get removed without warning.
2007-07-13 13:46:09 +00:00
andy
30502189d8 The screen-capture command no longer pops up a dialog, so toss up a tip
from within the F3 keybaord handler instead.
2007-06-07 16:59:07 +00:00
mfranz
1a48bfb840 p: only set /sim/freeze/replay-state to 0 if it wasn't already (more useful
for listeners)
2007-05-05 11:09:48 +00:00
mfranz
25e61dad0d AJ MacLEOD: replace obsolete and broken throttle bindings by controls
wrapper call

mf: I didn't find a trace of that /autopilot/controls-overrides/ property
    in the fgfs source code and most of the data package. There are regular
    complaints in the IRC channel about numpad keys 9 & 3 not working.
2007-03-23 20:03:28 +00:00
mfranz
2987f9660f let Shift-Space open property browser 2007-02-24 10:16:26 +00:00
mfranz
4453b8c742 adapt I-key description 2006-08-21 08:43:36 +00:00
mfranz
c8abca597e use aircraft.HUD manager methods to control the HUD. Key bindings remain
the same, with one exception: I (=Shift-i) doesn't only switch to the
alternative old HUD, but toggles that and the new HUD. Eventually
we may want to re-organize the HUD key bindings. Maybe after the old
HUD has been removed?
2006-08-21 08:40:15 +00:00
mfranz
e0244684c9 put prop pitch on n/N 2006-08-09 13:56:48 +00:00
mfranz
dfd3fc3212 - update hud paths
- check for negative index
2006-06-08 17:18:03 +00:00
mfranz
d39e681ef5 set HUD properties explicitly; the commands weren't very flexible and will
die
2006-06-07 17:58:55 +00:00
mfranz
c93bda7b22 terrain-follow -> agl-hold (to match generic AP and AP dialog) 2006-04-08 16:21:47 +00:00
mfranz
7e81d93f28 use wrappers for brakes/parking brake
(js files are to be converted)
2006-03-01 17:04:20 +00:00
mfranz
efc1577118 '+': change description & function name (repeate last ATC/instructor msg) 2006-02-24 11:06:06 +00:00
mfranz
dc74e71157 use more sophisticated screen.atc_repeat() function to let ATC repeat
his/her last message
2006-02-11 12:07:06 +00:00
mfranz
6859951713 baby, one more time! 2006-02-10 19:08:10 +00:00
mfranz
e21dbdbef1 - move "Toggle FDM data logging" from Shift-F10 to Shift-F9
- let Shift-F10 cycle through GUI styles; F10 is already about GUI stuff
  (enable/disable menu), so this is the most obvious key
2005-07-13 11:14:07 +00:00