Jump to content
The simFlight Network Forums

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


mtjoeng
 Share

Recommended Posts

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?
 

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

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