Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I'm sure someone has come across this and has a solution.

I posted to the SB3 forum, asking if there were plans for any keyboard commands to squawk Standby/Mode C/Ident, when it was pointed out that this could already be done using FSUIPC.

I tried editing the .cfg file using the offset 0x8060 mapped to the F1 key, but no luck :( (I found the 0x8060 / 32864 offset on the SB2.3 forum BTW)

Either the offset I used is wrong for SB2.3b, or I have used the wrong command in .cfg (I suspect the latter as i'm new to .cfg file editing with FSUIPC).

I have read FSUIPC for advanced users, but i'm still not sure which of the x0100zzzz settings to use.

Posted

I posted to the SB3 forum, asking if there were plans for any keyboard commands to squawk Standby/Mode C/Ident, when it was pointed out that this could already be done using FSUIPC.

I don't fully understand the part "squawk Standby/Mode C/Ident". On a real transponder there are usually off, standby, on, alt and test modes -- your "mode C" is the ALT mode. The ident is usually a separate button. But I don't think these are implemented in Flight Sim.

So I assume this is some input to Squawkbox specifically?

I tried editing the .cfg file using the offset 0x8060 mapped to the F1 key, but no luck :( (I found the 0x8060 / 32864 offset on the SB2.3 forum BTW)

Erwhich CFG file? Squawkbox? FSUIPC only has an INI file, but you program buttons and keypresses in the on-line dialogues. I wouldn't do it by editing the INI file.

If the offset 0x8060 which you refer to is an FSUIPC offset, then I'm afraid nothing other than FSUIPC can use that -- it is within a write-only are used as part of module registration. Please see the FSUIPC Programmers Guide for more details about FSUIPC offsets.

Either the offset I used is wrong for SB2.3b, or I have used the wrong command in .cfg (I suspect the latter as i'm new to .cfg file editing with FSUIPC).

So you do really mean that you are trying to edit the FSUIPC INI file (there is no CFGg file)? Why? Why not just use the facilities provided in the options, as fully described in the documentation? There's no reason to edit this stuff in the INI directly unless you want to add conditional programming or multiple sequences.

I have read FSUIPC for advanced users, but i'm still not sure which of the x0100zzzz settings to use.

Please try looking at the main User Guide and going the simple way first. Even so, you cannot use offset 0x8060. It has certainly never been allocated to any other application.

Regards,

Pete

Posted

Thanks for quick reply.

Sorry, slip of the tongue, I meant .ini rather than cfg. Been a long day :oops:

You are correct, the Stby/Mode C selection i'm referring to is a function of SquawkBox rather than flight sim.

My original post to the SquawkBox 3 forum:

"Will the transponder gauge have a keyboard shortcut assignable for mode c/stby and ident? (I use a keyboard emulator to intercept a switch and output a keystroke in response). I guess similar functionality would be useful for anyone using go-flight switches as well."

Reply:

"FSUIPC can map keyboard events to the offsets if you have the registered version". Exactly how to do this with SB2.3 was not stated, but Joel did give the offset to control SB3s Mode C/Stby when it is released - I presumed from this that FSUIPC can influence the behaviour of SquawkBox (in the same way that the PTT option controls AVC)

Look, thanks for the quick reply. What you are saying, and what I gleaned up from the SB3 forum don't seem to agree, but you're the authority on this so i'll have to accept I can't map keys to control SqawkBox. It was still worth registering FSUIPC for the PTT fuction alone :)

Posted

... Exactly how to do this with SB2.3 was not stated, but Joel did give the offset to control SB3s Mode C/Stby when it is released - I presumed from this that FSUIPC can influence the behaviour of SquawkBox (in the same way that the PTT option controls AVC)

...

What you are saying, and what I gleaned up from the SB3 forum don't seem to agree, but you're the authority on this so i'll have to accept I can't map keys to control SqawkBox.

I don't agree. You cannot map via the offset you quoted, that's for sure, so it must be wrong. The stuff you quoted applies to SB3 -- is that now released? Certainly SB3 has got a range of offsets allocated in FSUIPC, and that is what Joel is no doubt referring to. I see no reason why you shouldn't do what you want to do with SB3, provided you get the correct offsets from Joel.

Regards,

Pete

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
×
×
  • 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.