Jump to content

Issue mapping zoom view to throttle microstick


Recommended Posts

ExpendableWendel
Posted (edited)

Hi all, I am setting up il2 after a 10 year absence from FB. I have a Thrustmaster Cougar throttle that has a two-axis thumb microstick. I can assign one axis to zoom view but I'm having a problem getting the behavior I want. The microstick is spring centered like a mini joystick. I would like to program the behavior such that zoom view is activated only in the direction from center to out, and ignore spring-back movement from outer position back to center. I want to achieve zoom increase by moving the microstick from center position to forward position only, and stay zoomed when stick returned to center position. Zoom decrease would be from center to rearward position. The behavior I'm describing is very similar to how the microstick behaves when controlling radar cursor on modern aircraft simulators.

 

The problem is that as currently mapped, zoom is increasing as I move the microstick forward, and decreasing zoom when I relax the microstick back to center. Btw, my throttle is based on a generic usb controller board BU0836 using Joytokey for programming, it is not programmable with Thrustmaster software. I hope I have explained myself clearly.

 

P.s. I also use trackir if that's relevant.

 

.

Edited by Bruiser
Posted

It sounds like you want the zoom axis to be obtained by integrating the ministick position. This should be doable with a Joystick Gremlin plugin. Are you any good with Python?

ExpendableWendel
Posted

Hi Charon, thanks for the reply, unfortunately I am not good with any code.

Posted (edited)
11 hours ago, Bruiser said:

The problem is that as currently mapped, zoom is increasing as I move the microstick forward, and decreasing zoom when I relax the microstick back to center.

 

This is due the auto-center feature of mini-sticks (like joystick), so you need change this axis behavior for relative for cancel the return to center, what require an advanced keymapper program, seems that Joystick Gremlin don't has this feature:

 

 

Anyway the short curse of this mini-stick axes will not make this much practical for zoom control.

For avoid complication, use JoyToKey and set mini-stick axis up for press, e.g."KP +" and mini-stick axis down for press "KP -" and set this two keys for press zoom.

 

Edited by Sokol1
  • Thanks 1
ExpendableWendel
Posted

Thanks Sokol, your input is much appreciated.

 

This leads me to another question regarding the speed of zoom. If I map zoom to an axis, I get nice fast response, but if I map zoom to keys such as KP+ / KP- the speed of zoom is by default a little slow. is there a way to speed up zoom using mapped keys? With mouse wheel I can zoom quite fast, but my hands are not free. I have tried adjusting FOV response in camera settings, but these speed and inertia sliders seem to change nothing with regards to zoom. As I said, I'm using trackir so I don't use keys. I would have thought Pan Camera: FOV change speed would control this. Do these camera settings only apply when mapped to axis and not for keys?

 

2021_7_13__0_35_34.thumb.png.030d77576d06352345b3835941bcc9bf.png

Posted

If you are attempting to do what I think you are, which is exactly what im doing, what you need to do is use something like Joystick Gremlin that has a "Split Axis" feature. That would allow you to use only half of whatever axis on the ministick you are trying to use. It would give you 0-100 from the center of the ministick to full deflection on the split axis.
 

If the attached picture isnt enough to go off of let me know here or in a PM and I can be more specific so you can see if thats what you were wanting.

il2forums.png

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...