Jump to content
The simFlight Network Forums

Rotaries.lua on my new DSD button box? How?


Recommended Posts

Posted

Bought a buttonbox from DSD has 5 encoders that are 1. really slow, 2. give a very sort pulse. Read about Rotaries.lua and tried to implement but doing something wrong. What I did:
renamed Rotaries.lua to RotariesDSD.lua which shows up in fsuipc.ini [LuaFiles]

In fsuipc.log about DSD box says: Vendor=04D8, Product=8A3D (Version 0.1) 
changed in RotariesDSD.lua: 

Vendor = "GoFlight"
Product = "RP48"
to
Vendor = "04D8"
Product = "8A3D" (and tried Product="8A3D (Version 0.1)", no difference, nothing)

Rotaries = { 1,2,3,4,5,6,7,8} 
to
Rotaries = { 8,9,10,11,12,13,14,15,24,25} ; 5 rotaries per fsuipc inquiry and assigned FS control:

rotary H, 24/25 to AP Alt Var Inc/Dec

then what? nothing different, what am I missing?

I read my MPC-Combo rotaries do a slow/fast pulse, this DSD box apparently does not, but that is where Rotaries.lua is for?
 

Posted
8 hours ago, mtjoeng said:

Vendor = "04D8"
Product = "8A3D" (and tried Product="8A3D (Version 0.1)", no difference, nothing)

They are just hexadecimal numbers, so you could also use

Vendor = 0x04D8
Product = 0x8A3D

but the string versions of those should work. I assume you have checked those values in the FSUIPC log file where the devices are logged?

8 hours ago, mtjoeng said:

then what? nothing different, what am I missing?

Is the Lua plug-in being run? How are you starting it?

8 hours ago, mtjoeng said:

I read my MPC-Combo rotaries do a slow/fast pulse, this DSD box apparently does not, but that is where Rotaries.lua is for?

Yes, but you may want to adjust the timing and poll rate to suit the device and your needs. Check the comments in the plug-in.

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.