Jump to content
The simFlight Network Forums

Is there some sort of button timer I can use?


Recommended Posts

10 minutes ago, Iceking007 said:

So format would be:

[Keys]

n=CP(F+121,11)121,11,C#

Actually no, sorry - no compound conditions on key presses - the documentation says that offset conditions apply, not compound conditions.

But why don't you assign and use an offset (or two) to determine what your key presses send?

Otherwise then it looks like you will have to use lua.

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Offsets are still very confusing to me... I'm not even sure how you envision that working.  But in my Lua script I was adding some offsets to read values... so that's a start.  However a Mentone I can't even get it loaded. 

 

Thank you for all the help John.  I'm sorry I wasted your time. 

Link to comment
Share on other sites

1 minute ago, Iceking007 said:

I'm not even sure how you envision that working.

You want to check the status of a button flag when you press a key. As you can't do this, you can use an offset instead. So you would set an offset when the button is pressed, cleat it when released, and on the key assignment you can then check if that offset is set or not, and have your assignments accordingly.

Not sure why you can't get a lua script running...

4 minutes ago, Iceking007 said:

I'm sorry I wasted your time. 

No problem. Should have figured out what you were trying to do wasn't possible much earlier...

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.