Jump to content
The simFlight Network Forums

Tomlithgow

new Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Scottish Borders

Tomlithgow's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have rotary encoders which have a momentary-on function when the knob is pressed inwards. I would like to use the momentary-on function to toggle the operation of the rotary encoder between inc/dec whole numbers and fractions. Can anyone tell me (in words of one syllable please) how to do this, if its possible?
  2. Thanks for that. I had misunderstood. I've now looked at the example scripts and there looks to be some useful stuff there and I've found the Lua 5.2 Reference Manual. I'll study those and see how I get on. I don't, however, fully understand your final statement re the FSUIPC SDK. Do you mean the FSX SDK?
  3. I bought FSUIPC last year so I could have more control over joysticks, rudder pedals and other peripherals. I have, however, started to look at the feasibility of building a motion platform for FSX. To calculate the required movements, I need to be able to pull a variety of pieces of data from FSX and I am completely at sea. I have looked at the documentation on LUAs that comes with FSUIPC and I can see part of the way, however, where is the LUA library? I was wanting to use Liberty Basic as my programming tool, as the Basic environment is one that I am comfortable with and because Liberty Basic has commands for calling APIs and DLLs and I (perhaps naively) thought it would be able to call LUAs as well. I think what I am looking at is using the n=ipc.readDBL(offset), n=ipc.readFLT(offset) & n=ipc.readDD(offset) LUAs with the relevant offset values but I don't know how to do this. Can anyone help?
×
×
  • 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.