Jump to content
The simFlight Network Forums

Any tips for setting a working 'fast swing' mode when using the Honeycomb Bravo trim wheel?


Recommended Posts

I am using p3d V5.1 with the trim wheel of the Honeycomb Bravo. The trim wheel is nothing more than two buttons which fire when moving the wheel. I have programmed the wheel to use an offset for trimming up/down:

[Buttons]
PollInterval=25
ButtonRepeat=20,10
3=R0,22,Cx32000BC0,x3FFF0040 	-{offset sword increment, offset 0BC0 (Incr=64, Limit=16383)}-
4=R0,21,Cx42000BC0,xC0010040 	-{offset sword decrement, offset 0BC0 (Decr=64, Limit=-16383)}-

This works just fine when moving the wheel slow. But when moving the wheel fast(er) the trim rate doesn't get much faster than moving it slow. I tried to enable the repeat option on the button but that has little to no effect. Perhaps because it isn't a fast repeat like when you have a button pressed but instead a slower repeat due to the rotation of the wheel?

I would be grateful if someone knows how to increase the trim speed when moving the trim wheel faster.

Regards,
Peter

 

Link to comment
Share on other sites

14 minutes ago, pbrand said:

The trim wheel is nothing more than two buttons which fire when moving the wheel. I have programmed the wheel to use an offset for trimming up/down:

Why not use the actual controls for Trim Up and Trim Down? You make it more complicated than it need be.

Pete

 

Link to comment
Share on other sites

Just now, Pete Dowson said:

Why not use the actual controls for Trip Up and Trim Down? You make it more complicated than it need be.

Pete

 

Hi Pete,

I started to use this because the actual controls for Trim up/down are extremely slow when I move the wheel. At least they are for the aircraft I'm using (A2A C172).

Peter

Link to comment
Share on other sites

45 minutes ago, pbrand said:

I started to use this because the actual controls for Trim up/down are extremely slow when I move the wheel.

With encoders like your trim wheel you need to assign to both press and release -- each click is only a press or a release, alternately. That alone doubles the speed.

You could also always alter the amount of trim from each press. There's a section on how to do that in the User Guide -- search for Offset Increment/Decrement Controls (it's on page 27 in my copy).

If you want two different speeds of increase you'd need to use a Lua plug-in.  There's an example in your Example Lua Plugins document. It's called 'rotaries.lua'. It would need adapting for your device and needs.

Pete

 

Link to comment
Share on other sites

5 minutes ago, Pete Dowson said:

With encoders like your trim wheel you need to assign to both press and release -- each click is only a press or a release, alternately. That alone doubles the speed.

You could also always alter the amount of trim from each press. There's a section on how to do that in the User Guide -- search for Offset Increment/Decrement Controls (it's on page 27 in my copy).

If you want two different speeds of increase you'd need to use a Lua plug-in.  There's an example in your Example Lua Plugins document. It's called 'rotaries.lua'. It would need adapting for your device and needs.

Pete

 

Pete, I believe Offset Increment/Decrement Controls is just what I did in my example in the starting post?

Your tip on press ánd release is great! That already helps a lot.

I will also look into the rotaries.lua to see what I can do with that.

Thanks for the help 🙂

 

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.