solex Posted October 14, 2008 Report Posted October 14, 2008 Hi all, Iam looking to get my G25 pedals working in FSX. I want to use them as my rudder, it has 3 axis. It works at the moment but the rudder is on one axis, I would like to see them on 2 axis, left rudder and right rudder separate. It this possible with FSUIPC? (I do not own FSUIPC) Now i have to press the rudder all the time to keep it centered. thanks, Alex
Pete Dowson Posted October 14, 2008 Report Posted October 14, 2008 I want to use them as my rudder, it has 3 axis. It works at the moment but the rudder is on one axis, I would like to see them on 2 axis, left rudder and right rudder separate. Why on Earth would you want independent left and right rudder? Look at a typical aircraft. It has one rudder. It is controlled by one rudder control? How would two different rudder inputs help? What would they do? What would both left and right rudder being depressed mean? Go both ways? Split the aircraft in two? :lol: No. There is only one rudder axis. There is no possibility of separating left and right rudder -- and no point. It makes no sense. Sorry. Your two other axes will be toe brakes, not rudder controls. There are separate left and right brakes. That makes sense because differential braking helps turning corners more sharply. Now i have to press the rudder all the time to keep it centered. It needs proper calibration then. It should be centred with your feet off. Regards Pete
solex Posted October 14, 2008 Author Report Posted October 14, 2008 Hello and thank you for responding. Logitech G25 I have the above pedals, (calibrated in FSX) as you can see, in its neutral position it will steer to one side, left (or right when its reversed) . To keep it centered, i have to apply force to get the rudder in its center position. by releasing it the axis will go back into its neutral position (by a spring) and the rudder will steer the plane left. Thats why I was hoping that your application would be able to let me use one of the other axis as a rudder too.. Thanks again, Alex
Pete Dowson Posted October 14, 2008 Report Posted October 14, 2008 I have the above pedals, (calibrated in FSX) as you can see, in its neutral position it will steer to one side No, sorry i cannot see that from your picture! Surely they should be centred when released? Why would they not be except for poor calibration? To keep it centered, i have to apply force to get the rudder in its center position. by releasing it the axis will go back into its neutral position (by a spring) and the rudder will steer the plane left. You need to calibrate correctly so that the "neutral position" IS the position giving you centred rudder! If they are all separate axes then should all be calibrated to give zero when released. Thats why I was hoping that your application would be able to let me use one of the other axis as a rudder too.. If the axes are all separately recognised in Windows, you can most certainly assign both, or all three, to the rudder in FSUIPC. The problem would be that you only have one rudder calibration, not separate ones, because there's only one rudder input to FS. If your pedals both operate in the same direction, this won't work because pressing one side should decrease a value below zero and pressing the other side should increase a value above zero. Furthermore if both axes are providing input values at the same time, the last one to change would "win" (though FSUIPC does have arbitration for the maximum deflection to win instead) -- either way, its use would be somewhat unpredictable. Maybe if the are both operating in the same direction you could reverse one of them by swapping wires around internally? Regards Pete
jarzincytz Posted November 2, 2008 Report Posted November 2, 2008 Hey guys, im not sure why Dave is so confused on this issue, but it makes perfect sence to me, and i know how to fix it. First off-FS reads the single peddle as the full axes, when the peddle is full up-since it is spring loaded, like a CAR!, it will be full right, when the peddle is exactly have pressed, it is straight, and full down, it is left. Not exactly hard to understand. As for the whole-why do u want 2 seperate peddles, simply becuause it has to be this way. Yes there is a way to do it, i am doing it right now. First off, you gota grab a 2 programs, PPJoy, which creates the "fake" joystick that you will create the axes into that talks to flight sim, and GlovePIE, i suggest version .29 . create a standered joystick using PPJ. In glove PIE, copy the code into the screen, and hit run. From there, load FS, select the fake joystick, and assign the rudder axes under joystick commands in flightsim control assignments screen. (They may be backwords, if so, hit the reverse switch). Thats it! using Clutch and gas, instead of the friggin break so its stiff! Enjoy buddie! i know i am! i can not take credit for the script as i had found it on another web site: http://forums.ubi.com/eve/forums/a/tpc/4081038646 Script: //Combined throttle (Y) and clutch (dial) make virtual joystick axis. PPJoy1.Analog0 = 0.5*Joystick1.y - 0.5*Joystick1.dial
Jim Melton Posted March 6, 2009 Report Posted March 6, 2009 This has been driving me crazy. I have the G25 wheel/pedal setup and I'm using the controller from Leo Bodnar to put make the pedals independent from the wheel. The problem with using the G25 pedals is that the rudder axis is on one pedal. That means you have to constantly hold the pedal centered to keep center rudder, lift up to apply left rudder, and push down to apply right rudder. That make it pretty difficult to control. I tried the PPJoy and GlovePIE idea, but it doesn't work. I'm not sure why, but using "joystickX" doesn't apply settings to any joystick. I'm running Windows 7 so it must have something to do with the way that joysticks are read. If you use the GlovePIE tutorial, I can make the Virtual Joystick work with a mouse, but not a joystick. I REALLY don't want to buy rudder pedals, so if anybody has an idea, I'd appreciate it. Thanks, Jim
Pete Dowson Posted March 6, 2009 Report Posted March 6, 2009 This has been driving me crazy. I have the G25 wheel/pedal setup and I'm using the controller from Leo Bodnar to put make the pedals independent from the wheel. Surely the pedals and wheel would be separate axes in any case? Generally the wheel is the X axis, or aileron and the pedals are either two separate axes or one (Y) according to Logitech driver settings. Why would you need a special controller? And what do you use for elevator? The problem with using the G25 pedals is that the rudder axis is on one pedal. That means you have to constantly hold the pedal centered to keep center rudder, lift up to apply left rudder, and push down to apply right rudder. That make it pretty difficult to control. Strange. What about the other pedal? On my Logitech Formula Force EX the wheel is X but the pedals can be set either to be one axis (Y) or two separate axes (Z and something else I don't recall). I think most driving pedal sets allow either one axis for both pedals (because some driving games do require that), but also allow them to be separated for more sophisticated simulations like GP4, so you can hold brake and high revs simultaneously. Certainly the current Logitech drivers for my pedals provide both options, and can automatically select the mode according to the program being run. I tried the PPJoy and GlovePIE idea, but it doesn't work. Sorry, I've no idea what that's about. How can you possibly make one single pedal into a useful rudder control if it is not made self-centering? You need to be able to have it neutral with no pressure applied, so you need it sprung down half-way. Regards Pete
Jim Melton Posted March 6, 2009 Report Posted March 6, 2009 I guess I can understand your confusion here. I have a separate joystick for elevator and aileron control. I want to use the pedals for rudder control only. The crux of the problem that the pedals are three axes and you can only assign one to rudder control. I don't use the Logitech Wingman profiler, so I can't put the accelerator and the brake on the same axis. That means that the accelerator alone controls the rudder. And, like you said, it isn't usable. What PPjoy and GlovePIE does is attempt to create a virtual joystick so you can assign 50% of the rudder axis to the accelerator and 50% to either the brake or the clutch. For some reason, at least in Windows 7, I can't get GlovePIE to find any joystick. My hope was that I'd be able to do that with FSUIPC for that, but I think you mentioned above that it isn't possible. So, I'm hoping that somebody might now a way around this. Thanks for the quick response.
Pete Dowson Posted March 6, 2009 Report Posted March 6, 2009 I guess I can understand your confusion here. I have a separate joystick for elevator and aileron control. I want to use the pedals for rudder control only. Okay. so why the business about separation from the wheel? It will be a different axis in any case, so ignore the wheel axis? It seems a bit over the top to have to insert another controller board? The crux of the problem that the pedals are three axes and you can only assign one to rudder control. Three? Ah, is this a set with clutch as well? Maybe they don't default to having two of the pedals on one axis, then? I don't use the Logitech Wingman profiler, so I can't put the accelerator and the brake on the same axis. That means that the accelerator alone controls the rudder. And, like you said, it isn't usable. Is there any reason why the Profiler won't do the job satisfactorily for you? My hope was that I'd be able to do that with FSUIPC for that, but I think you mentioned above that it isn't possible. Not necessarily "not possible". Let's see ... in FSUIPC you can certainly assign both axes to the same Rudder control. That isn't a problem. The problem is that they will both share the same range of values -- presumably, in Raw terms, 0 to 255 or similar? And you can only calibrate them as one, so you can't get one operating the negative range and the other the positive. So, if you had a facility in the FSUIPC axis assignment, to NEGATE the values there, to give 0 to -255 (as opposed to the more usual "reverse", which would give 255 to 0), wouldn't that work for you? You would calibrate the positive side using one pedal and the negative side using the negated pedal -- both in the Rudder calibration section. I could do that quite easily if you think you could use it. I don't know where I'd fit the new checkbox needed, but i'll take a look. Meanwhile, can you see what RAW and Calibrated values you get in FSUIPC's axis assignments for the two pedals you want to use, please? Let me know so I've a good idea what I'm dealing with. Also, since you'd have to test this yourself for me, let me know if it is FSUIPC3 or FSUIPC4 which you need first. Regards Pete
Jim Melton Posted March 6, 2009 Report Posted March 6, 2009 The idea of having the pedals as a separate controller is a byproduct of a different sim. I also am heavily into online racing and the Bodnar Box increases the resolution for the pedals quite a bit, which gives finer control for the accelerator and brake. I don't use the profiler because there have been issues in the racing sim I'm currently absorbed in. It's a known issue, but Logitech hasn't fixed it yet. I appreciate you looking into this. I'll get you the RAW values so you can get an idea of what we're looking at here. Where would you like the values to come from? I assume FSUIPC, but I want to make sure. This would be for FSUIPC4 and I need to go ahead and register first. I was waiting to see if I would be able to do something with the pedals, but I think I see the value in registering software with our without. Thanks again, I'll let you know. Jim
Pete Dowson Posted March 6, 2009 Report Posted March 6, 2009 I'll get you the RAW values so you can get an idea of what we're looking at here. Where would you like the values to come from? I assume FSUIPC, but I want to make sure. Please give me the minimum and maximum values you see in the "IN" box on the Axis assignments tab, both with and without the "RAW" option selected, and state which are with the pedal pressed and which released, Thanks, Pete
Jim Melton Posted March 6, 2009 Report Posted March 6, 2009 Okay, I think I have what you want. I may be giving you additional info that you don't need, but I thought it would be better to be thorough than not. :) Accelerator Listed as: Joystick 3 Axis U Pressed In: 16383 Let out: -16384 Raw Pressed In: 88 Let Out: 990 Brake Listed as: Joystick 3 Axis V Pressed In: -16384 Let out: 16383 Raw Pressed In: 911 Let Out: 48 Clutch Listed as: Joystick 3 Axis R Pressed In: -16384 Let out: 16347 Raw Pressed In: 944 Let Out: 44 Let me know if you need more info. Thanks, Jim
Pete Dowson Posted March 6, 2009 Report Posted March 6, 2009 Hmm. My thoughts about Negating one of the values isn't going to work. Your results show that the Accelerator and the others are working in opposite directions to each other in any case, no the direction of change is already correct. the problem is that the ranges overlap so much. Let's see. Assuming we use the pre-calibrated values, not RAW, we have Pressed In: 16383 Let out: -16384 versus Pressed In: -16384 Let out: 16383 whilst we want the first to be 16383 to 0 and the second to be -16384 to 0 I'm not sure how best to tackle this. It needs more thought. I'll get back to you. Regards Pete
Pete Dowson Posted March 6, 2009 Report Posted March 6, 2009 I'm not sure how best to tackle this. It needs more thought. I'll get back to you. OkayI've looked at several different methods. if i add a new facility I want it to be both flexible and efficient, and there is no way i can do both for this via a simple checkbox. So... I think the best way I can offer are two additional parameters in the axis assignments, editing them in the FSUIPC4.INI file. So, you'd assign both axes to Rudder, then, before calibrating, add these parameters to the ends of the relevant lines in the [Axes] section of the INI file: ,*,+ where is a signed integer. Then, bearing in mind our needs here: Pressed In: 16383 Let out: -16384 versus Pressed In: -16384 Let out: 16383 whilst we want the first to be 16383 to 0 and the second to be -16384 to 0 you would add these to the first: ,*0.5,+8192 which would convert the range first to 8191 to -8192 then, by addition, to 16383 to 0 and the second: ,*0.5,-8191 which would convert that range first to -8192 to 8191, then, by addition, to -16383 to 0 How does that sound? If you aren't going to be able to use this because it is too complex, I won't bother adding it, so let me know please. Note that you could adapt the RAW values too, but obviously the numbers will be different. Regards Pete
Jim Melton Posted March 7, 2009 Report Posted March 7, 2009 I believe I understand. I've just started looking over FSUIPC and it's pretty complex, but I think I understand what's happening. I looked at the .ini file and didn't se an [Axes} section, so I assume that may be because I haven't assigned any axes from FSUIPC. After that, I would just add the info you provided below to the two axes I assign to the rudder. While I don't completely understand why, I assume the numerical info you provide is taking half the resolution for each axis and telling FSUIPC the zero point for each. I would say go ahead and run with it. I'm pretty sure I can figure it out. If not, I can generally ask a lot of questions. :wink:
Pete Dowson Posted March 7, 2009 Report Posted March 7, 2009 I believe I understand. I've just started looking over FSUIPC and it's pretty complex Well it shouldn't look complex as much as feature-rich. It's like a Swiss Army Knife, a collection of many tools to solve different problems. I looked at the .ini file and didn't se an [Axes} section, so I assume that may be because I haven't assigned any axes from FSUIPC. Yes, of course it cannot create any axis parameters if there are no axes assigned. And Windows INI files don't get created empty. While I don't completely understand why, I assume the numerical info you provide is taking half the resolution for each axis and telling FSUIPC the zero point for each. No. it is not, or at least certainly not put like that. FSUIPC is not aware of what a zero point means at all at this level. We are simply dealing with axis values. Meaning comes with calibration, not axis assignment. The same facility could be used to put three axes on the same control, each controlling one portion. No "centre" is understood, yet. FSUIPC would be doing exactly what I said it is doing. The multiplication factor is multiplying the number coming in from your axis and the addition factor is then being added. This is why they are called multiply (*) and add (+), because that is all they do, pure and simple. What is not to understand about that? I would say go ahead and run with it. I'm pretty sure I can figure it out. If not, I can generally ask a lot of questions. No, I'm not really inclined to add even such simple things if it only means a lot more such support work. I have enough already. If you cannot understand this beforehand I'd advise you to find another method. I'll just try explaining it, at a very simple level, one more time, then I'm going to give up: Look, it is simple arithmetic. Take one of your axes, the one ranging -16384 (let out) to 16383 (pressed fully). That's the normal full range of a whole rudder or other control axis, but you want it to be only one half of the rudder so you can use the other axis too. So, we want it to run from 0 to 16383 instead. That is, to be zero (0) when not pressed, so it is centred, but still 16383 fully pressed. Since the RANGE you have is 32767 (16384 + 16383 = 32767, right? With me still?) and we only want half this range, so we can accommodate the other axis, we divide by 2. That's the same as multiplying by a half -- primary school arithmetic, right? Still here? In normal decimal notation a half is 0.5 (5 tenths, right?). So the parameter *0.5 says "multiply by 0.5" which, as you should now realise, if you are following me, the same as "divide by 2". Dividing the range of input values -16384 to +16383 by 2 gives you -8192 to 8191 (losing the unwanted fraction). Right? Since we want it to start at 0, not -8192, we have to ADD 8192, because: -8192 + 8192 = 0 Okay? Therefore the second parameter needed is +8192. Now see if you can work out why the other axis needs to be as I said. Let me know when you get there. If you can't, I'll give up. Regards Pete
Pete Dowson Posted March 7, 2009 Report Posted March 7, 2009 Another thing that has occurred to me which may make you not want to go down the path I am suggesting: The two pedals will obviously both still be giving values, albeit non-overlapping ones with the above-described facilities programmed as I said. The two axes will both want to move the rudder, one one way and the other the other way. FSUIPC only acts on the last change it sees, and then, with two axes acting on the same control, it arbitrates to the largest deflection. With normal rudders you effectively push one pedal away and the opposite pedal pushes back out to you. With separate pedals, as in your case, you wouldn't be able to emulate this by relaxing one foot whilst pressing with the other. You'd have to only push one pedal at a time -- your other foot removed from the other pedal. If you didn't do this, if both axes were supplying values at the same time, FSUIPC would use the last one changing to the biggest value, and that could change quite suddenly as you relaxed or pushed -- making the rudder swing violently left to right or vice versa. In fact, with your arrangement it would be best to use only one foot, to avoid this possibility, much as you would normally when driving an automatic-geared car. I suspect the same sort of compromise would have to be applied even if you were using the Logitech Profiler. I can't really see an alternative method. Regards Pete
Pete Dowson Posted March 7, 2009 Report Posted March 7, 2009 Okay. I've added it anyway. I'd like to know what you don't understand so that when I update the documentation (it'll go into the Advanced User's guide) I can word it appropriately. Did you understand my last explanation? Was it pitched too low or is there still something missing? To try it yourself, download 4.503 (for FSX) or 3.903 (for FS9) using these links: FSX: http://fsuipc.simflight.com/beta/FSUIPC4503.zip FS9: http://fsuipc.simflight.com/beta/FSUIPC3903.zip These only contain the DLLs. Just put the relevant one into the FSX Modules folder. The multiplication and addition parameters are both individually optional, but if both given the multiplation one should be first. Multiplication is * where the number can be positive, negative and have fractional parts. Addition is +, or - for subtraction. No fractional parts. The result is always restrained to the range -16384 to +16383, so any result outside that will be left at the relevant limit. You won't see the results of this change in the Axis assignment Tab as the conversion is only done before passing it on to the FSUIPC calibration section (where you will see it), or to FS if you choose to send FS controls instead. Regards Pete
Jim Melton Posted March 9, 2009 Report Posted March 9, 2009 I've extracted the DLL in the FSX Mods folder and made the changes necessary to begin testing. I have been unsuccessful at making this work the way I would expect. It doesn't consistently work the same way either, so I'm not sure if that's a byproduct of what you mentioned before or if I'm not holding my tongue right. In any case, I assign both axes to the Rudder on that tab and then modify the [Axes} section of the ini. If I go to the Joystick Calibration tab, I can see that both register the way I would expect...I push one pedal it registers +16383 and when I push the other it registers -16384. But in sim, the behavior is erratic. This behavior is the case whether I pass it to the FSUIPC Calibration section or send it to FS. I'm going to try again to day with a clear head to see if I missed something.
Pete Dowson Posted March 9, 2009 Report Posted March 9, 2009 In any case, I assign both axes to the Rudder on that tab and then modify the [Axes} section of the ini. If I go to the Joystick Calibration tab, I can see that both register the way I would expect...I push one pedal it registers +16383 and when I push the other it registers -16384. But in sim, the behavior is erratic. This behavior is the case whether I pass it to the FSUIPC Calibration section or send it to FS. You need to send it direct to FSUIPC calibration, for both. Then you need to actually calibrate the rudder, in FSUIPC. You seem to have missed that vital step! Pete
Jim Melton Posted March 11, 2009 Report Posted March 11, 2009 Still no luck. An oddity when sending the pedals to FSUIPC for calibration is that the positive X axis on the the flight stick doesn't register the full range. It actually stops at 10,000. As soon as I remove the pedals from Rudder assignment, the positive X axis registers the full 16,380. I'm not sure if the two are related or not, but everything looks normal in the .ini file.
Pete Dowson Posted March 11, 2009 Report Posted March 11, 2009 Still no luck. An oddity when sending the pedals to FSUIPC for calibration is that the positive X axis on the the flight stick doesn't register the full range. It actually stops at 10,000. As soon as I remove the pedals from Rudder assignment, the positive X axis registers the full 16,380. I'm not sure if the two are related or not, but everything looks normal in the .ini file. You must have something screwedI've tested the new options here using two paddles on one game pad (a Saitek wireless one as it happens), and I can easily get it so the left paddle does the left rudder and the right paddle the right rudder. It works fine provided only one paddle is used at a time. When you apply both then you get random switching depends which is depressed furthest. This is the arbitration taking effect. Please show me both the relevant [Axes...] and [JoystickCalibration ...] sections from your INI file. Pete
tcorken Posted March 21, 2009 Report Posted March 21, 2009 You guys are making a meal of this :) First off you need to set the throttle and brake axis as combined in order for FS to read the 2 pedals as one axis ie. the rudder. Secondly, you don't need the Logitech profiler software installed to do this as it can be done from the "Game Controllers" section inside windows "control panel" It's only a matter of ticking or unticking a radio button. I've been using the G25 pedals for ages with a CH Pro yoke so I know it works just fine. The reason I found this thread is because I was searching google for a way of locking the assignments so that when I plug the wheel in each time, FS2004 won't go mad and re-assign everything incorrectly, including the wheel which I want to exclude as I already have a yoke! I know it can be done, just need a reminder as to how. :) Anyhow, hope this helps a little biteven if it's a bit late. :P
Pete Dowson Posted March 22, 2009 Report Posted March 22, 2009 First off you need to set the throttle and brake axis as combined in order for FS to read the 2 pedals as one axis ie. the rudder. Secondly, you don't need the Logitech profiler software installed to do this as it can be done from the "Game Controllers" section inside windows "control panel" It's only a matter of ticking or unticking a radio button. That's neata much better solution! ;-) Thanks! I was searching google for a way of locking the assignments so that when I plug the wheel in each time, FS2004 won't go mad and re-assign everything incorrectly, including the wheel which I want to exclude as I already have a yoke! I know it can be done, just need a reminder as to how. :) I'm not sure how to do that either, other than possibly make the config file read-only (stopping you making any changes), or editing the devices CFG files in FS which define the defaults it assumes when it sees a "new" device (i.e. one which wasn't connected last time it ran). Alternatively, if you have a registered version of FSUIPC you can of course disable controls in FS and assign everything through FSUIPC. In the recent versions there are facilities for disassociating the Windows joystick ID number (0 -15) from the Joystick Name, using letters A-Z instead, so that FSUIPC can re-assign by name if things move. Regards Pete
tcorken Posted March 22, 2009 Report Posted March 22, 2009 Another google search and I found the lock solution on this very forum ... "One more tip.... If the settings keep changing on you, you can lock them by adding the line: LOCKED=1 to each joystick section in the fs9.cfg that you want to lock. FS has a habit of reassigning some things automatically. This will keep that from happening." Credit to PhilC for that. I'm sure your way will work just as well Pete. I do understand why users would prefer the clutch and throttle to work as rudder rather than brake and throttle because the brake pedal is designed to offer much more resistance (it's physically harder to push down) than the throttle and the clutch is about the right distance apart and feels the same to push as the throttle pedal. Unfortunately, as you know, it's on a completely different axis and I don't see how it would be possible to combine that with the throttle. I suspect it's had wired that way.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now