-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Kevin Brigden
-
-
Many thanks for your help on this Roman, it's much appreciated! :)
-
My mistake, I needed to remove the existing calibrations before recalibrating. It now works! I suppose the only thing I need to figure out now is how to prevent the activation of an axis suddenly changing the position of an axis after a mode switch. I.e. after setting the right throttle to 80% from idle, I don't the left throttle to flick up to 80% as soon as I move it. However, I think this is an unavoidable consequence of having the physical lever left in the 80% position and in any case I am prepared to live with that.
-
Kevin,
I already have a better codes set in mind. 1. After switching modes, the axis of the controller will not engage until within a small range of the current axis already set in FS for each throttle, mix & prop. 2. Easier calibration - instead of having in the both "mode" the controls set to "all" engines set the control input to engine 1 and 2 separately. Drawback at this point - only good for 2 engines.
Just a quick test and this should work for 3 buttons. Through the "Buttons + Switches" interface you could use Offset Byte Set with the offset being x66C0 in all 3 modes. Button 8 value = x00, Button 9 value = x01 & Button 10 value = x02.
Or hand editing the .ini under [buttons]
XX=P0,8,Cx010066C0,x00
XX=P0,9,Cx010066C0,x01
XX=P0,10,Cx010066C0,x02
Will not have much time today to try new coding but hopefully tomorrow.
Glad it is working for you.
Strangely, that particular code works with the throttle but now the mixture and prop no longer respond in any setting.
-
Roman,
That worked perfectly! Excellent work much appreciated! Can I ask a couple of questions of you please?
1. At the moment, this switching works by using a single switch to cycle through the modes. Is it possible for me to modify the scripting to enable use of an individual switch for each mode? i.e. switch 8 for mode 1, switch 9 for mode 2 and switch 10 for mode 3? My understanding is that I will need to use a different offset command to the one used in this profile data. I understand that at the moment the command is instructing the offset to increase by a single byte until it reaches a count of 0, 1, 2 and then it loops back to 0. So am I correct in thinking that I need to use a byte "select" or "set" command?
2. You have saved me from spending a needless £40 on a second throttle quadrant from Saitek. Please see your private messages.
I also believe that on Pete's return this thread should be a made a sticky or placed in the FAQ because I seriously doubt I am the only person who wished to do this.
-
Kevin,
It is much more complicated than just a button assignment and axis assignment. You will need a LUA file tailored to your needs. I have a LUA file that will have to highly modified and will give it a shot. There is one drawback to using this method. The axis of the controller does not know where the actual FS control is therefore when you switch modes and move the controller axis the FS control matches the controller axis. In any case will help out in creating a LUA for you, it may take a few hours/days since it's been awhile
Roman my apologies, I should have said that I had fully followed Pete's instructions (including the LUA file) however thus far I have not been able to make it work. As such, I think I was missing something obvious. I'll try your tips now and see how I get on. Please bear in mind, I am a mechanical engineer, not a software engineer so my programming skills are... not the best!
-
Should also add that in the axis area:
[Axes.Beech Baron (Default)] RangeRepeatRate=10 ... 2=0Z,256,F,L1:R,0,0,0
-
Just by way of an update I attempted this again this afternoon but to no avail. I'm sure it's something simple I've missed.
[Buttons.Beech Baron (Default)] 3=P0,8,Cx030066C0,x000100E5
I appreciate Pete's away but if there's anyone who can spot the error please advise.
-
Pete is away until August 17th but in the mean time you might want to take a look at the following topic.. Note LUA programming required.
http://forum.simflight.com/topic/70239-can-an-axis-change-its-function-depending-on-a-button-state/
Yeah I did eventually find that last night funnily enough :) Unfortunately I can't seem to get that technique to work (although there's a high likelihood that's because I'm thick).
-
Hi Pete and the gang, hoping you all might be able to help me out here. I've read through the tutorial material and done a forum search but I've not quite found the answer I'm looking for.
What I'd like to do
I have a single throttle quadrant for the Saitek Pro Flight. I understand the concept of compound button mapping and I would like to apply this to twin engine controls. Specifically: I wish to be able to control both engines throttles, props and mixtures when in mode 1, the left engine controls in mode 2 and the right engine controls in mode 3. I thought this might be a case of simply applying the relevant logic statements as per compound buttons but that doesn't appear to be the case.
i.e.
[Axes.Baron 58 - Twin Piston] ... 2=C(+0,8)0Z,256,F,65765,0,0,0 3=C(+0,8)0U,256,F,66291,0,0,0 4=C(+0.8)0V,256,F,66292,0,0,0
In this instance, button 8 represents the mode 1 detent of the control wheel on the back of the right hand grip. My plan was to then generate similar lines of code for "engine 1 prop, engine 1 mixture" etc. Unfortunately, this first stage in my testing rendered the axes inoperable suggesting I cocked up the syntax or that it simply isn't supported.
Any suggestions?
Compound Axis?
in User Contributions
Posted
That's awesome, thanks Roman! I'm going to be out of town for a few days doing a rally down to the south of France but I will report back next week when I've tried this latest version.
Many thanks