Jump to content

Key press programing


Recommended Posts

I'm trying to have my FsMeteo display open when I press a key. Here's what it looks like in one of my panels:

[window14]

file=d:\fsmeteo\767fsmwd.bmp

size_mm=395,448

windowsize_ratio=1

position=0

visible=0

ident=125

gauge00=767fsmwd, 0, 0,390

I tried using the panel ID toggle or even open, but it didn't work. I put in the parameter 125 since that is the id of my fsmeteo display window. Is there away to do it? I have a toggle button in my 2d panels, but need a key combo to have it open in vc mode, since most of my panels use up 1-9.

Link to comment
Share on other sites

I'm trying to have my FsMeteo display open when I press a key. Here's what it looks like in one of my panels:

[window14]

file=d:\fsmeteo\767fsmwd.bmp

size_mm=395,448

windowsize_ratio=1

position=0

visible=0

ident=125

gauge00=767fsmwd, 0, 0,390

I tried using the panel ID toggle or even open, but it didn't work.

Hmmm. They are listed in CONTROLS.DLL but I've never tried them. Maybe they aren't actually hooked up in FS.

If they don't work then I'm afraid the directly switchable panels available to you may be limited to the 1-9 supported by the PANEL_1 to PANEL_9 controls (normally Shift+1 to 9).

I'll try the PANEL_ID controls here, see what happens. Possibly the "ID" in these is not the "ident" but the Window number (14 in your case). After all the 1 - 9 for the other controls do refer to the [Window ...] number, not the ID, don't they?

Regards

Pete

Link to comment
Share on other sites

I tried using the panel ID toggle or even open, but it didn't work. I put in the parameter 125 since that is the id of my fsmeteo display window. Is there away to do it?

OkayI've tested all three controls "PANEL ID OPEN", "PANEL ID CLOSE" and "PANEL ID TOGGLE" in FS2004. The parameter these take IS the ident value from the Panel.CFG file, and all three work well here.

I don't know what you are doing wrong, but please first go to the Keys or Buttons assignments and check that you have indeed programmed them correctly. Then switch on the Button and Event logging in FSUIPC's logging page, and see the results of using your buttons or keys in the Log.

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.