James Turner
f07042f7d7
Use binding-list fire helper.
2013-12-15 20:43:27 +00:00
Thomas Geymayer
39c41eaab9
FGLinuxEventInput: check return value of write.
2013-12-07 13:48:04 +01:00
James Turner
88aef8caf8
Reset: guard against picks during re-init
2013-11-16 12:28:56 +00:00
James Turner
5c97b7e713
Change tooltips to enable explicit.
...
Instead of using a negative delay to disable, make the setting
operate directly. This simplifies UI on top.
2013-10-25 09:18:59 +01:00
James Turner
52e5a9abe8
Reduce amount of log output at level=debug.
2013-09-28 14:47:20 +01:00
Tom Paoletti
81cd33e2fa
Performance optimization: empty() instead of size()>0
...
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
2013-08-19 09:01:59 +01:00
James Turner
6acf1c12fc
Fix unused private vars.
...
Xcode is warning about these, they're a mixture of
copy-pasted code, evolved use (e.g. using a property
node to store state), and so on.
2013-07-04 20:24:56 +01:00
James Turner
b1b6d2f6e2
Namespace fixes for std::string
2013-06-27 09:53:12 +01:00
Thomas Geymayer
0239e9c8c8
Fix cursor hide timeout if hovering on canvas windows
2013-06-21 22:00:09 +02:00
Thomas Geymayer
d9881aecf8
Allow Canvas placed on 3D objects receiving mouse events.
...
- Add option 'capture-events' to canvas aircraft and scenery
placements to allow events being forwarded to the respective
canvas.
- Clean up and restructure parts of the mouse event/picking
handling to support forwarding events to canvasses.
2013-05-09 21:38:40 +02:00
James Turner
6bd8bbc25e
Limit hover-picks to once per frame.
...
Hopefully fixes the observed issues on Linux when spamming
mouse-moves over a large pickable, but only testing will say for sure.
2013-03-28 17:52:08 +00:00
Anders Gidenstam
46eadabf3a
Added support for tracking mouse movements with shift and control+shift pressed.
2013-03-13 21:20:17 +01:00
James Turner
4786923838
Tweak hover logic.
...
Fixes tooltips vanishing on mouse-move.
2013-03-11 17:13:03 +00:00
James Turner
67a0acb64a
Live cursor updating during pick-drags.
...
This gives nice cursors when hovering and dragging slider and knob-animations, and the cursor is set correctly on mouse-up after the drag too. Makes directional knobs/sliders much easier to understand.
2013-03-10 12:06:20 +00:00
James Turner
0971ed1f2c
Make tooltips independent of cursor auto-hide.
2013-03-10 10:17:27 +00:00
James Turner
b5a6812c95
Clean up mouse-input property handling.
...
Use a listener to avoid reading state each event/update. Support setting some values on the SGKnobAnimation configure global behaviour.
2013-03-08 16:34:21 +00:00
James Turner
30fcfd219e
Pass key-mod state into pick-callbacks.
...
Allow pick-callbacks to get the current mod-state at all times. (Required for matching SG change)
2013-03-07 18:41:38 +00:00
James Turner
12bcea2861
Make Ctrl+axis bindings explicit (and work).
...
Thanks to Clement/F-JJTH for the fix.
2013-03-06 14:24:29 +00:00
James Turner
d5c382a780
Fix updating of mouse position props.
...
Some cockpits rely on mouse position props being updated even when using a dragged pick-callback. Thanks to Clement for noticing. Re-structured so however we process the mouse (PUI, pick-callback, normal motion), we always update the props.
2013-03-05 14:31:58 +00:00
James Turner
50c70035b3
More explicit check for cursor feedback.
2013-03-05 08:40:17 +00:00
James Turner
f2c267f5d7
MouseInput changes to support hover.
...
This adds the framework for platform cursor implementations; Windows and X11 to be done.
It also extend the mouse-input code to generate hover events suitable for driving tooltips.
Note there should be no visible functionality change from this commit, since everything
is inactive until fgdata changes are made.
2013-03-04 23:35:30 +00:00
Thomas Geymayer
6c10f99573
Make compiling of all utils/tools optional
2013-02-12 17:38:46 +01:00
James Turner
7b663cd7f7
Split huge NasalSys header apart.
2013-02-09 15:33:05 +00:00
Christian Schmitt
2013f7149d
Some headers missing... ;)
2013-02-07 19:00:54 +01:00
James Turner
1a5b968d7e
Update for tweaked SGPickCallback API.
...
(Requires corresponding SimGear commit)
2013-02-03 16:34:36 +00:00
James Turner
31995420d3
Guard libudev include with extern "C".
2013-01-30 20:49:50 +00:00
James Turner
11f15a9b36
Joystick/dialog caches, commit the transactions.
2013-01-25 09:30:31 +01:00
James Turner
37900e22a8
Wrap dialog and joystick stat-cache in a transaction.
...
Should improve startup times when the cache is rebuilt.
2013-01-24 09:27:09 +01:00
James Turner
e9ecf4eb52
Bug #923 : repeatable flag set on input reload.
...
Clean-up how axes and button bindings are destroyed are re-built on reinit of the FGJoystickInput subsystem, so we get new, cleanly initialised items each time.
2012-12-29 12:16:51 +00:00
ThorstenB
076bbb8487
Fix some compiler warnings.
...
Unused vars, loss of precision, bool type conversions.
2012-10-13 17:59:47 +02:00
James Turner
ae6218ff10
Restore named JS/input configs (overrides)
...
Thanks to jano for pointing out I'd broken this feature!
2012-09-25 14:20:18 +01:00
ThorstenB
293d6b3565
Fix compilation with enabled EVENT_INPUT
...
Need to move the definition to the toplevel cmake file, since sources
are no longer compiled on directory level (individual libs per dir).
2012-09-22 14:23:15 +02:00
James Turner
6e7ac46751
Cached joystick config loading.
...
Avoid parsing all the joystick configs every launch.
2012-09-21 10:17:16 +01:00
Stuart Buchanan
5c78970663
Stop the property tree from keeping a shadow of the deleted input properties, as it can mean that the array of bindings ends up with some incorrect name tags if the set of joystick config files changes and a given js-named entry shifts in the array. This can then result in incorrect bindings being selected.
2012-08-25 22:23:55 +01:00
Stuart Buchanan
cce186a57c
Add properties for raw axis and button values, for use
...
in joystick configuration function. Also rationalize references to
/sim/fg-home into a global property.
2012-08-23 21:52:30 +01:00
ThorstenB
e794bb8e25
Fix Linux compile / math dependency
...
wasn't redundant in one place
2012-05-05 12:16:20 +02:00
Frederic Bouvier
75fc136931
Remove redundant inclusion of math/SGMath.hxx
2012-05-05 11:20:04 +02:00
ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
89b41395d8
Move viewer-related sources to separate folder.
...
Simple source directory clean-up, so "Main" folder contains fewer stuff
and the list of files in the editors a lot shorter.
2012-04-25 23:28:00 +02:00
ThorstenB
5f1435b4fd
Avoid "using..." in header files.
2012-04-05 21:02:09 +02:00
James Turner
8c187164fe
Work on making 2D panels act like standard scene-graph elements for picking and drawing.
...
(This includes 2.5D panels in the 3D scene)
2012-03-16 17:22:18 +00:00
ThorstenB
6113981b39
#702 : Misspelled "devices" property node.
...
(Typo from my commit earlier this week)
2012-03-08 08:58:44 +01:00
Torsten Dreyer
644bb8c4f4
Spring-cleaning: some minor optimization
...
- initialize uninitialized properties
- use prefix instead of postfix increments
- reduce visibility of variables
- use empty() instead of size() == 0 for vector and string
- pass string by reference, not by value
2012-03-06 22:28:18 +01:00
ThorstenB
0abf252ec8
Use tiedPropertyLists instead of manually matched tie/untie calls.
...
Ensures we don't forget to untie some individual properties.
2012-03-04 15:30:08 +01:00
James Turner
a5153615e6
Mac-specific fgjs / event-input fixes from Tatsuhiro.
2012-02-11 17:33:02 +00:00
ThorstenB
64fda03bd6
#605 : Reduce warning level for unsupported keys.
2012-01-18 21:41:55 +01:00
ThorstenB
d47342a5a4
Add --log-class option, improve logging classes.
...
Replace SG_GENERAL by more specific log classes in many places.
Allow "," to separate logging classes (using "|" is odd on the
command-line).
Also add new option to make logging more useful for developers.
You can use:
--log-level=debug --log-class=environment
to only get environment debug messages, or
--log-level=debug --log-class=sound,ai
to only get debug messages related to the sound or AI subsystem.
2011-12-11 14:06:17 +01:00
ThorstenB
4c17cee5fb
Lower log level for event input/udev messages.
2011-12-09 17:20:28 +01:00
ThorstenB
9933a7cb4a
cmake: add support for Torsten's UDev EventInput
...
(Hopefully meeting Torsten's quality expectations)
2011-12-04 14:37:25 +01:00
Torsten Dreyer
ded106fe31
event input for Linux: substitude dbus+hal by udev
2011-12-03 22:59:20 +01:00
Torsten Dreyer
2b68bebb5d
namespace std fixes
2011-11-14 15:33:02 +01:00
Frederic Bouvier
f1d0ac52a6
Fix MSVC9 build
2011-11-14 08:38:58 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
Torsten Dreyer
fcf0371777
fix cmake conditional for event-input
2011-09-21 19:22:32 +02:00
James Turner
7dd8f00c42
Enable event-input for joysticks by default on Mac + Linux, in Cmake.
2011-09-21 17:13:13 +01:00
James Turner
2de3872d66
In joystick configurations, fall back to <unix> if no <mac> entry was provided, since the number is frequently identical.
2011-09-15 09:54:00 +01:00
Mathias Froehlich
549c5eccb9
cmake: Factor out common simgear dependency libs.
...
Factor out and use this core simgear depenency
library cmake variable.
2011-09-11 11:22:10 +02:00
James Turner
a5a8090d52
Cmake: Split simgear libraries into core and scene (only scene uses OSG). Fix linkage issues, and make helper binaries (yasim, terrasync) link against less stuff.
2011-09-08 13:59:40 +01:00
ThorstenB
28496bb6ac
#359 : jumping mouse control axis in "constrained" mouse modes
...
Experimental patch - let's see if this helps those who saw the issue,
otherwise we'll try a different patch...
2011-08-12 00:24:25 +02:00
James Turner
6c52a5ac85
Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io
2011-07-30 10:47:28 +01:00
Torsten Dreyer
ca02aa8a04
JoystickInput: fix potential init problem
...
Don't remember the axis position before bindings are loaded
2011-07-17 22:26:37 +02:00
Mathias Froehlich
32159c6bce
Make the 32'th joystick button work.
2011-07-07 18:41:26 +02:00
ThorstenB
826784eb18
Martin Spott: Add CMake DBus support for event driven input.
...
Tested on Linux only, please improve if you see fit.
2011-06-13 00:45:40 +02:00
ThorstenB
be1117f782
fixed #308 : "Reload input" did not respect joysticks.xml
...
Predefined joystick information must be maintained on "reload input".
2011-05-28 11:16:03 +02:00
ThorstenB
473d1447c3
Minor renderer clean-up & performance bits.
...
Use non-static methods so we can use member variables.
2011-05-21 13:24:23 +02:00
ThorstenB
1456635c55
Fixed minor memory leak on joystick reload.
2011-04-13 21:30:11 +02:00
Frederic Bouvier
257e3390c9
Detect joystick disconnection
2011-01-30 21:14:32 +01:00
James Turner
2ea7f87ae1
Andreas Gaeb: make input (joystick) re-init work.
2011-01-29 16:05:02 +00:00
Torsten Dreyer
ac4d22628e
remove debug message spam
2011-01-21 20:44:35 +01:00
Torsten Dreyer
4e3a2a2c1c
EventInput(Linux): experimental initial read of values
...
First test of reading the button state and axes positions
on initialization of the device.
2011-01-17 20:27:03 +01:00
Frederic Bouvier
d0a2fbba99
Revert joystick patch. One would have to provide a better one
2011-01-14 22:37:39 +01:00
Frederic Bouvier
4ec8b1e57f
Include plib ul
2011-01-14 22:09:21 +01:00
Frederic Bouvier
47624c1a4f
More joystick code fixes
2011-01-14 22:07:13 +01:00
Frederic Bouvier
ab686ab8d4
It looks like it was not the last mac js code that was committed in the first place
2011-01-14 22:03:15 +01:00
Frederic Bouvier
bb6d1b14c5
Fix a typo in the Mac js code
2011-01-14 21:52:36 +01:00
Frederic Bouvier
4d0a6f5668
Olaf Flebbe: incorporate plib js code to fix problems with MS joysticks under Vista and 7
2011-01-14 21:32:59 +01:00
ThorstenB
8efe895355
Added several include files, thanks to Roland Haeder
...
Added includes missing for some compiler/platform.
2011-01-08 22:34:43 +01:00
Torsten Dreyer
8cab5f9e60
Make mouse buttons work again.
2011-01-08 12:50:55 +01:00
Torsten Dreyer
8a08507282
MouseInput: invert y-accel property
...
Syd Adams: It could be inverted with nasal for use,
but it feels more natural with positive /forward , negative /
back.
2011-01-08 09:11:46 +01:00
Torsten Dreyer
0361f136fe
MouseInput: Add accel-x and accel-y
...
Syd Adams:
Is there any interest in mouse acceleration properties, besides myself ?
Obviously there is. Some code cleanup comes with it.
2011-01-07 21:05:17 +01:00
James Turner
2b5f50e856
WIN32/MSVC fixes from Olaf Flebbe
2010-12-27 12:44:17 +00:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
James Turner
545969054c
Use new Simgear platform defines in Input code.
2010-10-31 12:23:16 +00:00
Torsten Dreyer
657cd883d7
Compile again, replace clib strXXX with std::string
2010-10-25 14:48:56 +02:00
James Turner
7ccba95b9c
Remove direct uses of PLIB ulXXX functions
2010-10-24 07:10:51 +01:00
James Turner
025b94f099
Even more std::string fixes.
2010-08-09 09:40:20 +01:00
James Turner
19360a8425
Fix 'using std::' abuses
2010-08-09 08:36:20 +01:00
Torsten Dreyer
c89b18ddbd
Ignore generated files
...
add generated files to gitignore that has also been in cvsignore
remove generated config.h-msvc* from source control
2010-06-02 11:27:16 +02:00
Mathias Froehlich
1114c49165
Fix an uninitialized value valgrind warning.
2010-05-29 16:32:38 +02:00
torsten
a464d1b2b2
use simgear::PropertyList instead of std::vector<SGPropertyNode_ptr>
2010-04-19 10:20:03 +02:00
fredb
00e9ad3055
MINGW patch from Benot Laniel
2010-01-25 17:12:04 +01:00
Tim Moore
3a890859d3
more include SGMath.hxx to keep MSVC happy
2009-10-26 18:40:12 +01:00
Tim Moore
2c6cfca38b
Fixes for changes in simgear/math/sg_types.hxx
2009-10-18 12:16:54 +02:00
torsten
26859ad4b9
Non platform specific:
...
- normalize axes events
- handle relative and absolute axes separately in own classes
- ignore tolerance for relative axes, they can fire the same event multiple times which must not be ignored.
2009-10-04 02:02:47 +02:00
torsten
16eefc84d1
Tatsuhiro Nishioka:
...
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.
2009-09-17 22:54:42 +02:00
torsten
a26ca9f3e3
Tatsuhiro Nishioka:
...
Fixed: wrong event name for abs-hat0-y
Modified: let AxisElement to generate normalized input (-1.0 to 1.0).
This can be temporal and can be removed when AxisEvent normalizes its value.
Modified: clean up code
Added: some comments so other Mac developers can see what's going on
2009-09-09 08:56:30 +02:00
torsten
a1a610f7d5
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
...
- added support for per-device <nasal> <open> and <close>
2009-09-03 00:02:47 +02:00
torsten
1b08957f2a
Olaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags <windows> or
...
<mac> work in the joystick xml files.
2009-08-23 21:43:10 +02:00
torsten
b772e5872a
add option <grab/> to the device configuration. If this is set to 'true', the events from this devices are exclusively handled by our handler and are not distributed to other driver(s).
2009-08-23 21:43:10 +02:00
torsten
c672f2aba5
warning fixes
2009-08-23 21:43:09 +02:00
torsten
8cf74b8f2d
Add a debug property to make devices print out incoming events on the console.
2009-08-12 23:45:55 +02:00
torsten
3231561e5a
fixed typo. Thanks m.
2009-08-12 23:45:54 +02:00
torsten
d7eab6061c
be compatible with older kernels
2009-08-12 23:45:54 +02:00
torsten
da9a4c3216
missing dbus include path
2009-08-12 23:45:54 +02:00
torsten
5c57153e62
Advanced input subsystem - Step3: Adding support for the Linux event devices
2009-08-12 23:45:54 +02:00
fredb
71d7f043a8
Compile under MSVC9
2009-08-10 07:14:38 +02:00
torsten
aea9c750f3
Advanced input subsystem - Step2: Split up current input subsystem
...
- encapsulate code into classes
- create separate subsystem for keyboard, mouse and joystick
- group new subsystems into subsystemgroup "input"
2009-08-08 08:37:15 +02:00
fredb
219be77f1e
Suppress warnings
2009-07-02 08:59:16 +02:00
fredb
0783a96d4d
Suppress MSVC warnings
2009-07-02 08:59:15 +02:00
Tim Moore
b588a92b7f
adapt to changes in sg_exception interface
...
sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.
2009-06-16 11:46:47 +02:00
mfranz
744a23d0aa
fix leaks; make destructors virtual
2009-05-18 12:24:16 +02:00
fredb
11d18d3e5f
Support --fg-root in fgjs
2009-02-02 00:58:00 +01:00
mfranz
8605c6f33d
only unhide the cursor if it was actually hidden
2009-01-12 13:04:24 +01:00
mfranz
80560b6633
- Don't consider modifiers in axis bindings, as this means to
...
temporarily lose control over the aircraft while pressing a
modifier for a button.
- cosmetics: remove trailing spaces and commented out debug messages
2008-11-25 14:32:39 +00:00
mfranz
9bc662e655
Enable <mod-{shift,ctrl,alt,meta,super,hyper}> support for joystick
...
bindings. Only <mod-up> was supported before.
2008-11-24 17:16:38 +00:00
fredb
9ebb9128c8
MINGW patch by Csaba Halasz, reworked by me to avoid breaking MSVC or Cygwin build
2008-09-28 08:27:32 +00:00
timoore
6f802959ce
CameraGroup class for managing multiple cameras.
...
CameraGroup supports cameras opened in different windows or in the
same window, with flexible view and perspective specification.
Clean up mouse click handling via osgViewer. Don't let any camera
"have focus;" this forces events to be reported in window coordinates
and simplifies life. Don't use the osgViewer::View::requestWarpPointer
method; instead use our own code which only deals with window
coordinates.
Make glut and sdl versions work with CameraGroup too.
2008-08-01 15:57:29 +00:00
ehofman
14885374de
header cleanups
2008-07-31 12:04:32 +00:00
ehofman
667e64e1eb
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
...
- this exposed a bizarre issue on Mac where dragging in <AGL/agl.h> in
extensions.hxx was pulling in all of Carbon to the global namespace
- very scary. As a result, I now need to explicitly include CoreFoundation
in fg_init.cxx.
- change SG_USING_STD(x) to using std::x
2008-07-27 16:25:13 +00:00
fredb
3db0cf1659
Remove unneeded inclusions of windows.h, GL.h and GLU.H
2008-07-27 15:18:34 +00:00
ehofman
d9bfd5a425
This should apply, and everything should build cleanly, in isolation from the
...
SimGear change. It changes all the SG_xxxx to be the 'real' includes, and gets
rid of many #ifdef SG_HAVE_STD_INCLUDES. As an added bonus, rather than
replacing 'SG_USING_NAMESPACE(std)' with 'using namespace std', I just fixed
the small number of places to use std:: explicitly. So we're no longer polluting
the global namespace with the entire contents of std, in many cases.
There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another
mechnical change, replacing <math.h> with <cmath> and so on *everywhere*, but
one step at a time)
2008-07-25 18:38:29 +00:00
ehofman
6c4061bdc5
Remove the remaining macintosh (not MacOS-X) and MWERKS workarounds.
2008-07-25 07:29:20 +00:00
timoore
580ebf637b
Clean up OSG camera setup and interface to plib PUI
...
Switch to defining PU_USE_NONE and providing our own callback
functions to pui for "get window" and "get window size." A new
WindowSystemAdapter class assigns ID numbers to windows for the
purpose of identifying them to plib; the window size can be extracted
from the osg::GraphicsContext class in all the different
implementations (osgViewer, glut, sdl).
Implement a GraphicsContextOperation that runs code in a particular
graphics context, perhaps in another thread, and provides an
isFinished() method to test if the operation has finished. This allows
us to initialize plib PUI properly if there are multiple graphics
contexts without using fgMakeCurrent(). fgMakeCurrent() can't work in
multi-threaded OSG configurations.
Eliminate fgMakeCurrent() and all its uses, either by using
GraphicsContextOperation or by seeing that it is not necessary.
Attach the GUI camera as a slave camera.
Don't manipulate the OSG state in the drawImplementation() functions
for SGHUDAndPanelDrawable and SGPuDrawable; it's not needed.
2008-05-19 21:21:03 +00:00
mfranz
4c5d7bb0f9
- export modifier bitmask
...
- consider negative keys returned from an event handler as invalid
(was 0 before)
- warning--
2008-04-26 13:25:08 +00:00
mfranz
160e246a0c
add hyper support
2008-04-25 23:21:47 +00:00
durk
ecc6548d71
cygwin related fixes, and some minor future release related maintenance
...
work.
2008-02-04 20:03:52 +00:00
timoore
1b439f8501
Memory leak fixes from Till Busch
2008-01-19 18:06:05 +00:00
fredb
1d44e93c73
Win32 fix
2007-12-02 12:29:29 +00:00
mfranz
7167d20f4f
read key code and modifiers back in after event interface call
2007-12-01 23:37:58 +00:00
mfranz
5934acbef9
add <mod-meta> and <mod-super> XML elements for key bindings
2007-12-01 16:38:49 +00:00
mfranz
9fa86acc65
make the state of the Meta and Super modifier keys available. These keys
...
are not available out-of-the-box on all systems and keyboards, and should
therefore not be used in files committed to CVS. This makes them well
suited for local key bindings, as they aren't likely to get overwritten
with later releases. SDL supports Meta and Super, OSG supports only Meta,
and GLUT supports neither.
2007-12-01 13:09:11 +00:00
mfranz
8ec42c1aae
- move temporary keyboard fix from input.cxx to fg_os{,_sdl}.cxx.
...
This is required to make sure the same letter key gets released,
which got the press event. (After Ctrl-press -> a-press -> Ctrl-release
a-release we want the Ctrl-a binding released, not the a binding.)
- add key listener interface for direct key access from Nasal space
2007-11-12 19:29:08 +00:00
mfranz
cbcc7af5d0
move the other parts of _init_keyboard() to _postinit_keyboard(), too.
...
This is still before anything else than the splash screen is displayed,
and it's cleaner that way. (The Nasal processing parts *must* be there.)
2007-07-13 10:15:48 +00:00
mfranz
5246e69b5a
- use ostringstream instead of sprintf() for the __js%d namespaces
...
- set namespace __kbd for all keyboard Nasal code (not meant for public use)
- read <nasal><script> blocks from the keyboard file
2007-07-12 22:57:14 +00:00
frohlich
46ccdeffd4
Modified Files:
...
src/Input/input.cxx src/Input/input.hxx
src/Main/FGManipulator.cxx src/Main/fg_os.cxx
src/Main/fg_os.hxx src/Main/fg_os_osgviewer.cxx
src/Main/fg_os_sdl.cxx src/Main/renderer.cxx
src/Main/renderer.hxx: First cut of osg multi view configurations.
2007-05-26 13:53:46 +00:00
mfranz
851e860b52
more recent MS Windows systems reportedly support more than two joysticks,
...
so we need to rely on plib to tell us
2007-04-01 22:22:05 +00:00
mfranz
d4f8622ff4
export mouse coords of "main" mouse
2007-02-05 20:29:26 +00:00
frohlich
a788ebf487
Modified Files:
...
src/Input/input.cxx src/Main/renderer.cxx
src/Main/renderer.hxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx: Move scenery picking into the renderer.
There is most of the required data defined. Also we can better use
the pick visitor that will be needed with th upcommung panel code.
2007-01-07 12:02:50 +00:00
frohlich
ee30992e55
Modified Files:
...
src/Input/input.cxx: Do not change mouse modes if we had
a valid scenery pick.
2007-01-07 08:33:02 +00:00
frohlich
059c906be5
Modified Files:
...
src/Cockpit/panel.cxx src/Cockpit/panel.hxx
src/Cockpit/panel_io.cxx src/GUI/dialog.cxx src/GUI/dialog.hxx
src/GUI/menubar.cxx src/GUI/menubar.hxx src/GUI/new_gui.hxx
src/Input/input.cxx src/Input/input.hxx src/Main/renderer.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx:
Use SGBinding instead of FGBinding. Remove FGBinding. Install hooks
to make the pick animation work.
2007-01-04 13:22:27 +00:00
frohlich
b0f9d24f9d
Modified Files:
...
configure.ac src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
src/AIModel/AIBase.hxx src/AIModel/AICarrier.cxx
src/AIModel/AICarrier.hxx src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx src/ATC/AIEntity.cxx
src/ATC/AIEntity.hxx src/ATC/AIMgr.cxx src/ATC/AIMgr.hxx
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx
src/Cockpit/cockpit.cxx src/Cockpit/cockpit.hxx
src/Cockpit/hud.cxx src/Cockpit/hud.hxx
src/Cockpit/hud_rwy.cxx src/Cockpit/panel.cxx
src/Cockpit/panel.hxx src/Cockpit/built_in/FGMagRibbon.cxx
src/Cockpit/built_in/FGMagRibbon.hxx src/FDM/flight.cxx
src/FDM/groundcache.cxx src/FDM/groundcache.hxx
src/GUI/gui_funcs.cxx src/Input/input.cxx
src/Instrumentation/od_gauge.cxx
src/Instrumentation/od_gauge.hxx
src/Instrumentation/render_area_2d.cxx
src/Instrumentation/render_area_2d.hxx
src/Instrumentation/wxradar.cxx
src/Instrumentation/wxradar.hxx
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/viewmgr.cxx src/Model/acmodel.cxx
src/Model/acmodel.hxx src/Model/model_panel.cxx
src/Model/model_panel.hxx src/Model/modelmgr.cxx
src/Model/modelmgr.hxx src/Model/panelnode.cxx
src/Model/panelnode.hxx src/Navaids/awynet.cxx
src/Scenery/Makefile.am src/Scenery/hitlist.cxx
src/Scenery/hitlist.hxx src/Scenery/newcache.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tileentry.cxx src/Scenery/tileentry.hxx
src/Scenery/tilemgr.cxx src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx src/Time/light.cxx
Big BLOB on the way to OSG.
2006-10-29 19:30:21 +00:00
fredb
46a3200569
Win32 fix
2006-07-29 09:27:50 +00:00
frohlich
cdb725528d
Clean up scenery center handling. It is set now less often.
2006-07-27 16:36:22 +00:00
mfranz
2c7e01133f
Stefan Seifert:
...
- read bindings from template
- automatic deadband detection
mf:
- write js name into output file
- poor man's progress bar during deadband detection
- fix header inclusion, fix mixed indentation
2006-07-04 23:29:05 +00:00
mfranz
e48967cb1d
fix another crash on exit by finally converting the rest of unguarded
...
SGPropertyNode to guarded ones. This is also done for JSBSim/JSBSim.hxx,
for which JSB had given explicit permission a while ago. I postponed that
back then, but now is the time.
2006-06-11 10:21:10 +00:00
mfranz
4d9d907c05
whoops, sorry, I forgot to commit that. (Thanks, Fred, for fixing).
...
Belongs to the SGSubsystem interface functions.
2006-06-05 16:28:20 +00:00
fredb
d1d9fb8881
Declare new member functions
2006-06-05 16:19:50 +00:00
mfranz
b2d2ec2e16
make modifier keys accessible via /devices/status/keyboard/{shift,ctrl,alt}
2006-06-05 13:45:59 +00:00