Results 1 to 10 of 11
-
07-23-2008, 12:27 PM #1
Keyboard Shortcut for toggling L Gen & R Gen
Hi
I have just been bitten by the cockpit building bug and am in the planning stage. I will be basing my cockpit on a Learjet 45 and want to make the controls as accurate as possible. I have been through all of the checklists to check that a keyboard key can be assigned to all of the required controls but I am struggling to find a way of assigning keys to toggle the Left and Right Gen switches. I have scoured the forums and cant see anyone else with this problem so its probably something that I have overlooked.
I an running FSX with SP1 and FSUIPC (4.25 i think ) and using the Learjet 45 aircraft.
Any help getting these Left and Right Gens to toggle from the keyboard would be appreciated
Thanks
Dave
-
07-23-2008, 01:20 PM #2
- Join Date
- Jan 2007
- Posts
- 563
The current supported version of FSUIPC4 is 4.30.
Any help getting these Left and Right Gens to toggle from the keyboard would be appreciated
If the controls react to mouse clicks there are two other things you can try:
1. Enable FSUIPC's event logging, then click the controls. The log may then show the name of the relevant FS control.
2. If that produces no results, there is a (rather small) possibility that the new Mouse macro facilities in FSUIPC might work. Please check the (latest) FSUIPC4 user guide for details of this.
Regards
Pete
-
07-23-2008, 01:25 PM #3
Hi Dave
Here's some info that you will find as a surprise, but delightful.
In the Learjet 45, the GEN switches are there only for 2 purposes:
1) If the aircraft is being supplied Ground Power and the GEN switches dont come on upon engine start
2) An in-flight issue warrants the need to bring the GENs back online again.
This can be found in the Training Manual.
What makes this a delightful surprise you may ask? Well, when you start each engine, the generator for that engine comes online automatically!
So, you can simply recreate the way the real airplane does by doing the following:
Program a button via FSUIPC to do an AutoStart for ENG 1 and then program a 2nd button for AutoStart on ENG 2. It's important to choose AutoStart because that is the function that causes the GEN L and GEN R to come online after reaching a certain N1 %.
Regarding toggling this from a keyboard, Im not sure what to tell you but if you have a yoke or other input device, this is pretty straigtforward. Im sure to assign it a key command would be just as easy too.
Best of luck, and it's good to have another L45 builder around.
-
07-23-2008, 03:36 PM #4
Thanks Pete & Tomlin,
Pete - Toggling Alternator 1 & 2 worked great and toggled Lgen & Rgen.
Tomlin - Great info, Just had a look at your site, some good info and your sim is looking fantastic. I'll post updates about how my sim is going as I build it.
Cheers
Dave
-
07-23-2008, 03:56 PM #5
Great, now that you have got it working, you may want to consider making it work more like the real deal one day (without actually turning the GENs on manually )if you care to. I'd be glad to answer any L45 questions!
-
07-23-2008, 10:09 PM #6
- Join Date
- Apr 2008
- Location
- Frankford, Ontario
- Posts
- 76
Pete,
I was hoping that this new feature you have introduced might allow any mouse action to be macroed to provide an FSUIPC action. (I know your reasons for developing it, and this isn't a criticism at all!).
Is the full story in the docs? What might make this not work, and why is there only a "rather small" possibility that it will work in this case?
-
07-24-2008, 07:26 AM #7
- Join Date
- Jan 2007
- Posts
- 563
What does that mean? Replace Luciano's "Key2Mouse" you mean, and operate the mouse itself? I won't do that.
Is the full story in the docs? What might make this not work
... and why is there only a "rather small" possibility that it will work in this case?
Unfortunately a lot of the Microsoft-programmed stuff doesn't use the system they provided to add-on programmers, and either I cannot trap the action or I can trap it but not reproduce it without emulating a mouse and therefore knowing screen positions AND having FS believe the appropriate gauge is visible in that position even if it isn't.
I have made representations about panels with mousable areas to Microsoft on several occasions. It should be automatic that any such facility also provides an assignable control to do the same job. I don't know if they'll ever change the system to enforce this, and with the move away from C/C++ programing to XML I doubt much of my Mouse Macro facility will work in future cockpits either.
Regards
Pete
-
07-24-2008, 09:24 AM #8
- Join Date
- Apr 2008
- Location
- Frankford, Ontario
- Posts
- 76
Oops.
I have clearly misunderstood your enhancement (said the actress to the Bishop
). I had thought, purely from reading some posts about this, that you had built a routine which somehow encoded previously executed mouse actions on panels which are currently hidden, to produce a keystroke or similar result, so that that mouse action could be envoked on the hidden panel via a keystroke or joystick button.
I now see that I was wrong, and that that is impossible. Sorry.
-
07-24-2008, 10:00 AM #9
- Join Date
- Jan 2007
- Posts
- 563
Not quite. The mouse macro creation sequence detects what action inside a Gauge is occurring when the mouse is used on one of its switches or buttons, then provides a "macro" in a file which can be used in FSUIPC's Buttons or Keys facilities to do the same thing without the mouse and without the gauge necessarily being visible.
The Macro facility itself is a way of adding new or complex controls to FSUIPC's repertoire for either button or keypress assignment, or even axis assignment. It is an existing facility to which this mouse capability has recently been added.
Regards
Pete
-
07-24-2008, 10:35 AM #10
- Join Date
- Apr 2008
- Location
- Frankford, Ontario
- Posts
- 76
Similar Threads
-
MCP Pro Backlight keyboard shortcut
By musiconair in forum General Builder Questions All Aircraft TypesReplies: 2Last Post: 02-15-2011, 11:39 PM -
KEYBOARD CODES??
By manhattan in forum General Builder Questions All Aircraft TypesReplies: 7Last Post: 04-27-2010, 10:11 PM -
Can a keyboard be used...
By shearder in forum Where to Start Building a Home CockpitReplies: 10Last Post: 03-23-2009, 02:32 PM -
Keyboard
By Mac in forum MyCockpit Member MeetingsReplies: 1Last Post: 01-06-2009, 10:19 AM
Hi Jose, Please go to Jeehell forum to see my reply. Les
A320 ACP IO Card?