Results 11 to 14 of 14
-
04-29-2008, 12:18 PM #11
- Join Date
- Jan 2007
- Location
- Saskatchewan,Canada
- Posts
- 226
Thanks much Peter !
I'm at work but I was able to quickly go over the mouse macro section of the new users manual.
Looks like it is exactly what JBaymore was looking for here .
If I read right,, I could create a gauge and assign (for example ) an ON/OFF switch using a mouse click to activate it.
Then I could use FSUIPC mouse macro to assign a keypress to that mouse click,,, without having to find a Fs9 Token Variable or Event.
This would certainly be a big help in creating functions for cockpits that have different systems than the standard Fs9 fair or Pm 737 systems.
Lots of options on cockpits for payware aircraft like the PDGM series are now open !
-
04-29-2008, 12:39 PM #12
- Join Date
- Jan 2007
- Posts
- 496
Well, almost. FSUIPC traps the mouse click and has a look in the code to see what it is doing. Then it calls the code directly instead, with the appropriately indicated mouse event. No mousing is then involved, and though of course the gauge code must be loaded (i.e. part of the current aircraft), the gauge does not have to be visible.
Unlike Key2Mouse, it doesn't work with all gauges. It may or may not work with XML gauges -- possibly not. It certainly doesn't work with the default FSX aircraft panels -- they all seem to dive directly into routines in PANELS.DLL. But it does with most every PMDG panel I've tried it on. So it may only be the C/C++ gauges that use the "MouseRect" structures which my mouse trapping is analysing. I don't really know enough about gauges to determine when it would or would not work.
It is essential to test it first (TAB key). If it works you then give the control a name. When you've finished the macro create mode, all that is saved in a MCRO file, and serves to add all the named actions as controls. They all then appear in the Button and Keys controls dropdown -- so you can assign buttons, keys, whatever, or use them as part of other macros. Etc Etc.
Regards
Pete
-
04-30-2008, 01:02 AM #13
- Join Date
- Jan 2007
- Location
- Saskatchewan,Canada
- Posts
- 226
When R/L and work are a little less busy,, I'm going to build a simple C++ gauge and do some experimenting.
Sounds interesting.
-
04-30-2008, 08:25 AM #14
Pete,
THANKS for the info!!!!!
I didn't realize that you were still updating the older version of FSUIPC. I though all your efforts had gone to the new version for "The X". Guess that shows the power of "ASSumptions".
Since my hardware is not up to running FSX at framerates and detail settings that I'd accept...... I'll be with fs2004 for a good long while.
I don;t know what Matthias Liebrecht does with his gauge programming....... but I'll check this idea out for sure.
THANKS again. Might be just what I am looking for.
best,
..............john
Similar Threads
-
GAIFR panel "egt/fuel flow" gauge missing
By deedlit in forum PM General Q & AReplies: 3Last Post: 10-02-2011, 05:48 PM -
X-Plane/Project Magenta Top of Descent "Pause"
By rlw9sr in forum General X-Plane (Laminar Research)Replies: 0Last Post: 02-27-2011, 05:08 PM -
"project 727" update / video tour series
By project 727 in forum My Cockpit UpdateReplies: 2Last Post: 07-28-2008, 09:05 AM -
Looking for "Below GS" and "Spoilers armed" annunciator light offset
By PeterH in forum PM General Q & AReplies: 17Last Post: 03-05-2008, 12:39 PM