Jump to content
The simFlight Network Forums

ipc.sleep


DaveSCUSA

Recommended Posts

Couldn't find any mention in the guides. Is there a way to assign a sleep or delay to a button press in the FSUIPC7.ini. I have also read the section on compound button press. I want to sleep for 750 ms between two button presses.

Thanks

Link to comment
Share on other sites

4 hours ago, DaveSCUSA said:

Couldn't find any mention in the guides. Is there a way to assign a sleep or delay to a button press in the FSUIPC7.ini.

There is the Pause (ms) control - from page 29 of the Advanced User guide:

Quote

1152 Pause (ms) – this adds a delay in ms. It can be used to insert a delay between key press/releases and mouse operations (where needed)

This works in the same way as any other control. Not 100% sure what you mean by 'I want to sleep for 750 ms between two button presses' though, as it is you who are pressing the buttons, not FSUIPC... If you overload your assignments so that multiple controls/events are sent on a button press, then you can use this control to insert a delay between the controls being sent.

John

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.