Zoom with FSUIPC
Posted 15 March 2012 - 10:54 AM
I got the registered version of FSUIPC and would like to assign an axis of my Satek X52 Pro with a zoom command in FSX. Basically, my axis is a slide horizontal cursor on the throttle. I would like to assign the default zoom (x1) when the cursor is in the right extremity, and a value of my choice when the cursor is in the other extremity, with a linear progression between the 2 values.
Is it possible? Could you help me?
Thank you very much (sorry for my english).
Posted 15 March 2012 - 11:56 AM
I suppose you could do that by assigning to View zoom set and using the axis scaling option in the INI assignment line. You'd need to work the latter out based on the range of inputs from the Axis, whch you will see in the assignments tab. For example, with an axis range of -16384 to +16383 (i.e. a "perfect" input range), I find good Zoom values are obtained by scaling of *0.01 (i.e divide by 100) and +164 (to make the minimum positive). On the axis assignment line in the FSUIPC INI file this looks like:
Your axis might have a different range, and you might want the top Zoom value to be smaller or larger, so obviously you need to adjust the multiplier and adder accordingly.
Posted 15 March 2012 - 02:29 PM
Will try this tonight and report you the result.
Posted 16 March 2012 - 08:29 PM
Posted 24 May 2012 - 03:07 PM
The entry in my fsuipc.ini file is exactly the same as Nico's... 6=0S,256,F,65701,0,0,0,*0.01,+163
Can I edit this to reverse the axis...so I zoom IN when I move the thumb slider to the right, instead of zoom OUT ? Sorry if its a stupid question.
Posted 24 May 2012 - 04:30 PM
As the manual states:
Having made it negative, thought, you'd need to correct the range by adding more, so you'd need something like
I've not tried this. You may need to tune it a little.
Posted 24 May 2012 - 05:09 PM
Please accept my apologies - I'm really getting places with the FSUIPC manual and tutorials now, but the reverse axis part obviously eluded me. I'm sure you have better things to do on a Thursday afternoon than repeat what you've already said in the manual, so I apologise again.
Thanks once more for your help and this absorbing FSUIPC you've come with, Peter. The more I learn, the more amazed I am at what it's capable of. No flight simmer should be without it.
Posted 14 January 2013 - 11:52 PM
Posted 15 January 2013 - 12:44 AM
What needs explaining? The only relevant part to scaling the input value to get values more suited to what you want are these:
which simply says "multiply by -0.01" then "add 327". i.e. it changes the sign, making positive negative or vice versa, then divides by 100 (same as multiplying by .01 = 1/100th) before adding 327. You'd need to experiment really.
I'm not totally sure without experimenting myself, but I think the value for 5x needs to be 320 and 0.25x is 16, so you want the minimum axis value converting to 16 and the max to 320. If the values run from -16383 to +16383 you'd need something like:
the first number being 304 / 32766 to get the full ranfe -16383 to +16383 to be -152 to +152, and the +168 adjusts this to +16 to +320, as required.
As before, you can reverse this is you wish by using *-.0092779,+168
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users