Jump to content
The simFlight Network Forums

Esound question


Recommended Posts

I'm beginning to use/program esound into my sim. My first task is the Attend call button. In FSUIPC it sees this as joy1, button 9 or in the cfg file 11=P1,9. Now my question is what number do I put in the [Triggers] section for the button number? This is NOT epic, just the normal windows game device being used. Thanks,

Rob

Link to comment
Share on other sites

I'm beginning to use/program esound into my sim. My first task is the Attend call button. In FSUIPC it sees this as joy1, button 9 or in the cfg file 11=P1,9. Now my question is what number do I put in the [Triggers] section for the button number?

The button numbers 0-511 are derived assuming 32 buttons on each of 16 joysticks (the Windopws Joystick API limits), in order. So "1,9" = 1 x 32 + 9 = 41. Try 41.

If I re-wrote Esound (and my EPIC stuff) now I'd use the J,B format, but all that software is many years old and uses the original pre-Windows EPIC button notation.

Regards,

Pete

Link to comment
Share on other sites

Hi Pete,

Here is a copy of my cfg file. Still can't seem to get it to work. The wav file is in the default fs9 sound folder.

[Devices]

1=Primary Sound Driver

2=

3=Modem #1 Line Playback (emulated)

4=Yamaha DS1x Native Audio

[settings]

1=1,100,FL

2=4,100

[sounds]

1=PMDG_Call

2=Outermk

[Triggers]

1=41:1,1,1

Thanks for your help as I know this is an unsupported program. :)

Rob

Link to comment
Share on other sites

1=41:1,1,1

I don't remember any of this and had to look it up myself, but that line looked wrong anyway. The format according to the documentation is:

N = Bn:c, W, S

I think the "B" there needs to go in so ESOUND knows you are referring to Buttons. Other letters are M (modules) and V (variables). Otherwise it's a token name.

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