Using a G25 gas and clutch pedal for rudder in IL2
#1

Has anyone been able to use their G25's gas and clutch pedal successfully as a rudder in IL2?

The way to do it apparently is to use Glovepie and PPJoy to create a virtual joystick with a single axis using the gas pedal and clutch pedal (similar to combined axis option for gas+brake in control panel/game controller option for G25) and then it should be picked up when you assign the rudder in the HOTAS section of the controls in IL2.

We've been able to get the virtual joystick visible and funtioning correctly in Control Panel/Game Controllers ok, but IL2 is not picking it up when we go to assign the rudder. It only sees the G25 or flightstick as controllers and not the virtual joystick.

I'm trying to help a mate out who's tired of using the twisty stick for rudder, and doesn't have the available readies for a set of pedals yet Wink

Anyone who's got this working successfully who could offer some tips would be mighty helpful.

Thank-you.


Cheers, Neil Smile
Reply
#2

Hi Neil
I'm using my G25 pedals for rudder - it6 works like a dream. I'm trying to figure your problem out. but I'm not 100% here. What does it show for the rudder controls in your HOTAS section? I'll help if I can, but my install was sweet, straight-forward, so I'm not sure where the problem is.
I have no extra joystick/pedal software or anything extra - just straight-forward.
This hasn't helped much, but I'll help if I can, if you make your questions a bit more specific... Big Grin 8)
Here's a pic of my HOTAS setup:

[Image: IL2M_W090406_085036_C09040608503695.jpg]
Reply
#3

Hiya Boss,

So you're using the glovepie+ppjoy method to combine the clutch and gas axis' for use as the rudder? Not the gas and brake?

With the virtual joystick created and glovepie running the script and working in the control panel, the HOTAS section in IL2 shows Y Axis when the accellerator is depressed to assign the rudder.

G25 is first in the list of controllers in the control panel, Saitek AV8R is second and virtual joystick is third.


Thanx for your help, let me know if you need anymore info on this.
Reply
#4

Hi Neil
In that setup of mine, I've got the rudder on the gas/brake pedal, not the clutch...Ignore the elevator setting, I set it on the actual steering wheel, but it doesn't work well. To be honest, I don't know what the ppjoy method is you're talking about. Never heard of it, so I assume I'm not using it
In my controllers list, my joystick is listed first, G25 second. I'm using a Logitech joystick, maybe that's got something to do with it.
So, if you try to assign the rudder to the pedals, what happens? I basically just touched one pedal to assign - it picks up the brake and gas pedal on one axis (U-slider)automatically. At least, for me it did... 8)
I'm not using any kind of virtual joystick setup, afaik. Maybe try setting it up straight without that, or do you need it for your actual joystick?
Reply
#5

One thing you need to check is, that the gas/brake axis are set to "combined axis", not separate. That way the game can see it as one axis and you can use it as a rudder.
Reply
#6

No worries, thanks guys Smile

We were after being able to use the clutch and gas pedals as they have similar mechanical resistance. We've tried the gas and brake pedal method and found the difference in resistance and position of the brake pedal to be off putting.

Thanx again,

Cheers, Neil Smile
Reply
#7

Oh, I see....I guess it is a little off-putting, but I can live with it... Big Grin 8) Big Grin
Reply
#8

I'm also using as many parts of my G25 I can for aircraft controls (and I've managed to make use of all three parts so far).

I set up the clutch and gas pedal to work together as a rudder. The brake + gas is horrible due to the stiff brake pedal and the close proximity of the pedals..

Step 1: Set G25 pedals as separate axis (not combined) in the Logitech Profiler application.

Step 2: Add a new virtual device in "PPJoy". Make it have one axis. Choose to make it "Rudder" during the creation wizard.

Step 3: In "GlovePie", add the following text (it is a script) and run it:
PPJoy1.Analog0 = 0.4555*Joystick2.dial - 0.5445*Joystick2.y

Explanation:
This line will make GlovePie take and use your clutch axis and gas pedal axis together as a combined axis, and assign it to PPJoy's only (otherwise unused) axis. The original G25 axis still work, but when they are pressed, it also makes the PPJoy 'rudder' axis move, as long as the script is running in GlovePie.

Breakdown of the line:
"PPJoy1" - Here we tell the program we are talking about the first and only PPJoy virtual device we created.
".Analog0" - ...we are specifying the first axis (it starts counting at 0 in this case) of the virtual PPjoy device
" = 0.4555*Joystick2.dial" - .. here we instruct that this PPJoy axis should consist of these real device axis: The first half of PPJoy virtual axis to be made up of 45.55% of our very real G25 clutch pedal.
" - 0.5445*Joystick2y" - ..and the other half should be made up of 54.45% of the very real G25 gas pedal.

Having 50/50% of each ends up with a rudder that is not centered (always pressed to the left a noticable bit). After trial and error I found a ratio that made it completely centered.

Important: Some of these joystick ID numbers might be different on your computer. The number "2" in 'joystick2.' appearing twice in the GlovePie line refers to the device ID of your G25, and it can vary depending on how many devices are hooked in, and in which way you organized them (you can set it yourself with the "JoyID" application, tiny little useful thing). If you open the control panel in Windows and then go to gaming devices, you'll see a list of all your gaming devices. To glovepie and our little script above, the first one is "1", second is "2" and so on. If your G25 is listed first, replace the number after "joystick" in the script line above with "1" in both places. If it's second, leave it at "2". if it's the third device, "3" and so on.

Step 4: If you try to assign the rudder in IL2 by the usual method, it will detect your 'normal' G25 axis instead of our new PPJoy rudder axis. So first go into IL2, make sure the rudder is NOT assigned to anything, and then exit IL2.

Step 5: The only way to actually assign it is to go to where you installed IL2, then the "user", your name, and open "settings.ini". Locate the "[HotKey move]" section, and add the following line among the other assignments:

AXE_RZ JoystickDevice3=rudder

Note that the number "3" in "JoystickDevice3" is supposed to refer to the JoystickID that PPJoy has on your system. Once again you can go to the control panel in windows, check game devices, and look at the list. PPJoy will probably be the last device. The counting in IL2 is different from the others mentioned here, so the device on top is "0", then the second one is "1" and so on. If PPJoy appears fourth on the list, as it does for me, then it has the ID number "3" to IL2.

When that's done - save and exit the text editor.

And that's it, it's done. It should work flawlessly from the first attempt in the game. The PPJoy axis, and thus the virtual rudder axis assigned in IL2 will only work as long as GlovePie is active and running the one line script we created earlier. If you close GlovePie or forget to start it, the rudder won't work in game.

And as long as you have a G25, why not use the steering wheel and the shifter as well? I pulled out a desk drawer on my left, and clamped the shifter on to the front of the desk drawer 'standing' (i.e. the stick is pointing 90 degrees out from the desk, and the panel is below angled in a very easy to reach way. Use the shifter in manual mode for gears or whatever and the buttons for anything you want. The steering wheel I turned off the force feedback on and attached lower down on my left side, and use it as a big real-size elevator trim wheel! It's so much more realistic and easy to trim like that, similar to the real planes of the era. And also, can assign the wheel brake to the brake pedal in the usual manner (might as well use that firm middle pedal for something).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)