Use Your Logitech G25/G27 Pedals as Rudder Controls

If you are into flight sims like Flight Simulator X, X-Plane, or IL-2, you know that it’s much more realistic and much cooler to pilot your airplane with real rudder controls.  Unfortunately, the CH rudder pedals are kind of a one trick pony and kind of expensive.  If you happen to also be a sim racer and you happen to have a G25 or G27 wheel with pedals, you’re in luck.  You can used those G2x pedals as your rudder pedals for most flight sims.  I’ve been able to use them for FSX, IL-2, X-Plane, and Wings of Prey.  Theoretically, this should work with anything that uses rudder-type controls. It’s relatively to use the accelerator and the brake as rudder pedals.  The Logitech Profiler will do that for you by combining the accelerator and brake axis.  However, the brake has a much stiffer throw than the accelerator and, for me, it kind of breaks the illusion of flying.  So, we’ll learn how to combine your clutches axis with the accelerator so your feet will be in a more natural position and the throw will feel roughly the same on both pedals.

GET YOUR STUFF

What you’ll need at a minimum is:

  • Logitech G25/G27 Pedals
  • GlovePIE
  • PPJoy (version 0.8.4.5 early release)
  • Microsoft Windows

I also have a Bodnar box which allows me to connect my pedals directly to my computer.  It gives the pedals a much higher resolution than having them connected through the wheel.  The instructions here assume you have one.  If you don’t, you’ll still be able to make this work, but you’ll have to fiddle with the GlovePIE program a bit.  More on that later.

EXTRACT GLOVEPIE

Once you’ve downloaded all of the necessary software, you can begin by extracting GlovePIE.  It’s not an install, so just uzip it to wherever you are going to run it from.  After you’ve extracted the software, you’ll probably want to put a shortcut to GlovePIE somewhere you can launch it before launching your favorite sim.  You’ll be using GlovePIE.exe everytime you want to turn your G25 pedals into rudder pedals.

INSTALL PPJOY

After you’ve taken care of GlovePIE, you’ll need to install PPJoy.  Here is where the fun begins if you are a Windows 7 x64 user (if you are a 32 bit Windows user, you can skip straight to the configuration part).  Microsoft enforces driver signing in 64 bit Windows 7 for security purposes.  This is a good deal for security, but not so much for small hobbyist developers like Deon Van Der Westhuysen.  A Verisign certificate costs upwards of $500 per year…not very attractive for a guy just trying to help the community. In any case, there is good news for us in the x64 boat.  When you launch the installer, you’ll see a message box with some cryptic commands in it.  Essentially, this is what’s going to allow us to install and run PPJoy.  If you’ve begun installing PPJoy, click cancel.  Open a command prompt by clicking Start, then Run, type CMD, and hit Enter (or you can hold the Windows key and press R).  In the DOS window, type the following and hit enter:

BCDEDIT -SET TESTSIGNING ON

After you’ve turned Test Signing on, you you see a message on your desktop telling you that you are in Test Mode.Windows 7 Test Mode If you don’t see this message, PPJoy will not work.  It’s worth noting that if you have the User Account Control turned on, you may need to run the command prompt as the local administrator.  You can do this by finding the shortcut for the command prompt in the Start Menu, right-clicking it, and selecting Run As Administrator.

If you see this message, congratulations, you’ve just made your computer slightly less secure!  I recommend extreme caution when installing anything while running in Test Mode.  When not using your pedals as rudder pedals, I recommend turning this off by running the same command, but change ON to OFF.  Unfortunately, this seems to break the PPJoy install and you’ll need to reinstall it.  So, I’ve warned you about this.  If you goon your computer, I’m not legally, financially, morally, or emotionally responsible.  Like my old First Sergeant used to say, “Fair warning is fair play.”  You can go ahead an continue installing PPJoy like you would any other piece of software.

CONFIGURE PPJOY

After you’ve installed everything, you’ll need to configure a virtual joystick port.  Click Start, Programs, All Programs, and find the PPJoy Joystick Driver folder and launch “Configure Joysticks” and “Add” a joystick.  After adding a joystick, we need to configure it.  You can just use the defaults if you want, but it adds a bunch of stuff I don’t like.  Start the configuration process by clicking “Mapping” and doing the following:

  • Leave the default setting of “modify the mapping of this controller” and click Next
  • Change the Axes dropdown to 2 and make sure there are 0 buttons or POV hats selected (you may only need one axis here, but I chose 2 just to be safe)
  • Change Axis 1 to X Rotation and Axis 2 to Z Rotation and click Next
  • Make the Min setting on Axis 1 to Analog 0 and Axis 2 to Analogue 1 and click Next
  • Click Next on the next screen (everything should be grayed out anyway)
  • Click Finish

Windows Game ControllersYou can click “Done” on the PPJoy configuration window.  If everything is right with the world, you should see a PPJoy Virtual Joystick 1 entry in your Game Controllers settings.  If your Game Controllers window doesn’t show a virtual joystick, you’ll need to repeat the steps above.  It’s very important that a virtual controller shows up here.

CONFIGURE GLOVEPIE

Configuring GlovePIE is sometimes both the easiest and most frustrating part of this process.  GlovePIE is what turns your virtual joystick into a single axis that your flight simulator will be able to use as the rudder axis.  The biggest hurdle you have to overcome is to find out what your axes your computer reads on your virtual joystick.  Probably the easiest way is to buy FSUIPC. It’s an addon for FSX that really does a ton of stuff, but I use it for joystick calibration.  It will also show you what axis your rudder pedals use.

In any case, when launched, GlovePIE is pretty nondescript.  GlovePIEIt just a window with a three tabs and a run button.  We’re interested in the tab that’s labeled “Untitled”.  That’s where we write our program that will tell GlovePIE to turn our accelerator and clutch into one axis that our flight sim can use.  Depending on your pedal configuration, this is going to be much different that what I’ve written for my pedals.  If you have a Bodnar box, you will probably be able to just take the GlovePIE program I’ve written and use it for your pedals.  If you don’t…well, that’s where the frustration happens.  You can try every random axis your pedals could possibly use and you may stumble on the correct ones, but you may not either.  This is where FSUIPC will be helpful.  It’s been a while, but I think you need the full version in order to find joystick assignments.  If you don’t have FSUIPC and can’t afford it, you may want to check the internet and see if you can find the axes that the accelerator and clutch use.

If you have a Bodnar box, the program I’ve written should mostly just work.  There is some modification you may have to make depending on the number of joysticks you have and where your virtual joystick shows up in Game Controllers.  We’ll talk about that in a minute, but for now, just copy and paste the code below in to GlovePIE and save your program someplace you can find it (I keep mine in my GlovePIE directory).

///Combined throttle (X Rotation) and clutch (Z Rotation)
///make virtual joystick axis.  This is required if your
///G25 pedals are using a Bodnar Box.

PPJoy1.Analog0 =  (.5*Joystick2.U) - (-.5*Joystick2.R)

 

The breakdown of the code here is PPJoy1.Analog0 means that your are working with the first PPJoy joystick on the Analog 0 axis.  This is the Analogs you set in the PPJoy configuration.  The (.5*Joystick2.U) – (-.5*Joystick2.R) is where we configure how the axis works.  Before I break this down, I need to point out that this is where your configuration could differ quite a bit depending on whether you have a Bodar box, how many joysticks you have, and where your virtual joystick appears in your Game Controllers control panel.  I have 3 joysticks listed and my PPJoy joystick appears third in the list, so I use Joystick2.  If you are a programmer or a scripter, you probably understand why my joystick appears third in the list and is Joystick2.  Your joystick count starts at zero.  So, your first stick is Joystick0, your second is Joystick1, and your third is Joystick2.  Hey, I didn’t make the rules.

In real aircraft rudder pedals, each pedal is only responsible for half the total movement of the rudder.  The code above takes half of clutch (.5*Joystick2.U) and half of the accelerator (-.5*Joystick2.R) and combines them to be the a single axis (X Rotation).  Notice the accelerator uses a negative number in the assignment. It’s complicated, but this is necessary to make the accelerator work correctly.  If anyone really wants to understand why that is, let me know and I’ll explain it.

ASSIGN YOUR AXIS

Now that you have your axis created and functioning correctly, you need to go to the control panel of your favorite flight sim and configure them to be your rudder pedals (you need to make sure you have GlovePIE up and running the program we just created).  If you’ve done everything correctly, when you press either the accelerator or clutch, your flight sim should assign your new pedals axis to the rudder.

 

Hopefully this is helpful to somebody who has been struggling getting this functioning in x64 Windows or somebody just looking to add rudder pedals to their flight sim without investing more money in yet one more peripheral.  Please let me know if this has been helpful.  if you run across any mistakes, let me know if the comments.

24 Responses to “Use Your Logitech G25/G27 Pedals as Rudder Controls”

  • Julien:

    Hi,

    Even with the BCDSIGNING and the test mode message I’m still unable to install PPJOY on my W7 x64 OS. The same message about drivers.

    Any idea?

    Thanks

  • Jim:

    Julian,

    Thanks for visiting my site and commenting on this post. I have a few questions regarding your experience. Some of them may sound silly, but the more info I have, the more I can understand what may be going on.

    Does your desktop show “Test Mode” in the lower in the lower-right hand corner? You may need to reboot, even though I didn’t mention it. Do you get any type of error message (other than the driver errors)? Also, the version of PPJoy is important…are you using the version I linked to? I’m really looking for any additional information you can provide.

    Jim

  • Ray:

    What is the code for this if you do not have the Bodnar box? That adapter itself costs enough to buy a rudder already.

  • Jim:

    It kind of depends on a few things. Part of the code is still dependent on the order your wheel appears in your Game Controllers list. Mine was second in the list, so it’s joystick 2. This part of the code will stay roughly the same (.5*Joystick2.U) – (-.5*Joystick2.R). The -.5*Joystick tells PPJoy that you need to use half the axis of Joystick 2. The .U and .R is what’s likely to change. To figure that out, I had to use FSUIPC. Assuming you are using FSX or another version of Flight Simulator, you can install the freeware version and it will show you what axis the pedals are on. If don’t have Flight Simulator, let me know and I’ll see what I can come up with.

    Jim

  • Roger:

    Hi Jim

    Many thanks for your instructions! I have Fanatec Clubsport pedals and managed to get them setup with the below GlovePIE script:

    PPJoy1.Analog0 = (.5*Joystick2.R) – (.5*Joystick2.U)

    My main issue is that the virtual controller is not detected in game, or rather it appears that the normal pedals controller has higher priority. So e.g IL2 assigns the normal throttle rather than the axis from the virtual controller when i push the throttle… The PPJoy virtual controller works fine in Windows game controllers moving from center to left with clutch and right with throttle…

    Any ideas?

  • Roger:

    Hi again

    Just tried this in-game which worked slightly differently than in the settings preview in IL2 (Cliffs over dover), now my throttle is split in two :) If i have it half way down its centered, down is left and up is right… Clutch does nothing. It looks perfect in windows after removing the “-” before .5 on the right command, but it seams it works different in game so ill give your original settings a go.

  • Jim:

    I’ve had that problem. Just make sure the axis for your accelerator and your clutch are correct. You may be able to look at the PPJoy Virtual Joystick properties to find what the rotation values are. If you have FSX, you can install FSUIPC and that will show you what each axis value is. If you don’t have FSX or an older version of Flight Simulator, I may be able to plug my pedals back into my wheel to find the Logitech values, but I’m not sure if the Clubsport pedals would have the same axis.

    Lemme know what you find.

  • Roger:

    Finally solved the problem. It appears that in some games since there are now two controllers using the same physical axis that the normal one (perhaps because its a lower “joystick number” gets priority).

    In IL2 (CoD) the only way to fix this was to manually edit the confuser.ini file and set the joystick config manually (if you use Steam for this game, please note that there are several confuser.ini, check the one with the newest change date to see which is used).

    Now it works fine :)

  • Jim:

    That’s good to hear! Thanks for dropping back by and letting everybody know how you fixed it. Hopefully there will be others that can get this working with their setups now.

    Jim

  • Dave:

    I am having the same issue with the BCDSIGNING set to ON and the “test mode message” displayed I’m still unable to install PPJOY on my W7 x64 OS. The same message about drivers pops up and wont let me install. Yes, it is the PPJOY version 0.8.4.5 early release that I am trying to install.

  • Dave:

    Jim,

    I’m having the same issues as Julien:

    I am unable to install PPJOY on my Windows 7 x64 bit OS due to the same message about the drivers. I followed all your instructions and even have the “Test Mode” message displayed in the bottom right side of the desktop.

    Thanks for any help with this issue.

    Dave

  • Jim:

    Dave – I apologize, but I just saw this…been very busy as of late. There are a couple things we can check that are easy.

    1. Is your UAC turned on? If it is, you may need to temporarily disable it.
    2. Have you tried running the installer as Administrator. Even though you may be an Admin on your computer, you still may need to run this as “The Administrator”.

    Let me know what you find and we can move from there.

    Jim

  • Dave:

    Jim,

    I was able to install PPJoy using this tutorial: http://www.youtube.com/watch?v=ScuYfagMixU

    and this download link:
    http://www.rapidspread.com/file.jsp?id=fskapbelig

    Everything seems to be working fine out of sim. I am also using the G25 pedals with Bodnar cable so I just copied your script for the GlovePie.

    The pedals show up in the “Game Controllers” in Win 7 and have 2 rotations x and z. Z is static and does not move when pressing the acc. or clutch where as X seems to work just fine when pressing either acc. or clutch.

    Now I am trying to get this to work with DCS A-10C. The PPJoy Controller shows up in options, but when I go to assign the rudder pedals they are not detected.

    Any ideas?

    Thanks again for your reply.

  • Jim:

    I don’t have much experience with DCS A-10C (yet). However, I ran into a similar issue with another flight sim (I don’t remember which…kind of an off-brand) and was never able to get it resolved. It was just as you described…I could see the pedals in the controls config, but I couldn’t bind the pedals to the rudder axis. I wrote it off to being an older-not-triple-a title and let it go.

    I just picked up DCS A-10C and am still in the process of getting it up and running – I have to build a new computer to run it smoothly. I’ll try to get to a point to where I can do some testing on it. If you happen to find out how to make it work, please post back and let me know. I’m pretty interested.

  • Dave:

    If any of you are interested in Falcon 4 BMS 4.32+ and want to use your G25/27 pedals as rudder input it is really easy without having to do the PPJoy + Glovepie Dance. Check out my post towards the end of this thread in the BMS forums:

    http://www.benchmarksims.org/forum/showthread.php?6891-G25-27-Racing-Pedals-with-Bodnar-USB-adapter

  • Steve:

    Hi Jim

    Been looking in to this to save some money on buying rudder pedals. Firstly about my setup. In the order they appear in Game Controllers i have;

    - Act Labs Performance Pedals
    - Saitek AV8R
    - PPJoy 1

    Il be using the brake pedal instead of the clutch because ive used the spring from the clutch to fix the broken brake spring, so the clutch doesnt return to its usual position if pressed.

    PPJoy was set up as described above, with 2 axis. I originally set it up with x and y axis (rather than rotation) as this had worked in a previous game id used PPJoy for (unrelated to FS!), but ive tried changing it to rotation and its changed nothing.

    I got FSUIPC freeware to log the axis being used but im not sure what to make of it. If i hit the throttle pedal it gives me the following code;

    210602 *** AXIS: Cntrl= 65763 (0x000100e3), Param= -14305 (0xffffc81f) AXIS_AILERONS_SET

    The only thing that appears to change (other than the digits at the start (time i guess) and the Param value is 0x000100e3 which changes to 0x000100e2 if i press the brake. The assumption i made therefore was that i should replace U and R with 2 and 3 respectively. At this, GlovePIE appears to throw a wobbly. The code i had was;

    PPJoy1.Analog0 = (.5*Joystick2.2) – (-.5*Joystick2.3)

    and underneath GlovePIE says ’5: function of key name expected, instead of “Joystick2.2″‘

    Any ideas?

  • Steve:

    Some happy news, i sorted it :)

    The code i needed was;

    PPJoy1.Analog0 = (.5*Joystick0.y) + (-.5*Joystick0.x)

    I assumed from your stuff above that the Joystickx command referred to the PPJoy controller, but changing it to Joystick0, which are the pedals, sorted it. Just needed to add them together rather than take them away.

    Thats £80 saved :)

  • Jim:

    Steve – First of all, thanks for posting here and sorry it’s taken so long to reply. Real life tends to get in the way more now than ever these days.

    You probably don’t even need to use this solution. You should be able to set this up in FS by using the throttle and brake axis combined. It’s been a while since I’ve looked at FSX and I’m not familiar with your pedals, but somewhere you should be able to define the throttle and brake as one axis (either in FSX or your wheel’s config utility). If this isn’t the case, let me know and I’ll try to figure out what FSUIPC is telling you.

  • Jim:

    /sigh – I suppose after being gone for a while, I should actually read through all of the comments before I answer an older one. Glad to hear to figured it out. PPJoy is a great utility, but putting it all together seems to be a challenge sometimes.

  • Steve:

    Hi again Jim. Ive been fiddling with this tonight to get 2 controllers in to UK Truck Sim, which only allows 1 controller alongside the keyboard. Ive got the pedals and wheel working after a bit of trial and error, but im confused about buttons.

    Id like to set the buttons on my wheel to be usable in game. As it has to be set to use ‘Keyboard + PPJoy2′ to get the pedals and wheel to work, it wont recognise any of the buttons on the wheel. Unfortunately, because im using a sidewinder wheel, i cant get in to the profiler to fiddle with it that way.

    Im not sure how i would go about doing this though. Do i need to set 8 buttons in PPJoy then assign them to keyboard keys so that when they are pressed it thinks im hitting, say, the letter ‘a’, and will that work. If so, any idea what the command is to get buttons set up. Ive submitted my email with this comment so might be easier to contact me that way!

    Steve

  • GregP:

    Hello all. I’m trying to get my Fanatec ClubSport pedals working in IL-2: Cliffs of Dover. I see Roger posted about this last year and somehow got it working, but I’ve had no luck. Basically, I’m able to create the PPJoy Virtual Joystick with no problem, and can verify that it works as intended in Windows’ Game Controller applet, but then when I go in-game, the pedals don’t register.

    Roger apparently ran into this same problem, and he says he got around it by just directly specifying the axes he wanted to use within the conf.ini file. I’ve done this, but it’s doesn’t work. On my machine, my pedals are Joystick3 and the PPJoy Virtual Joystick is Joystick4, which correspond to Joystick2 and Joystick3 in-game (because ‘Joystick’ in-game is my first Windows joystick; ‘Joystick1′ in-game is my second Windows joystick, etc.). So if I add a line ‘Joystick3-AXEX=Rudder’, even though it shows up in the GUI as I’ve typed in, testing the joystick response in the GUI shows no reaction, and when I get into the cockpit, again there is no response from the pedals.

    I know this thread is pretty old now, but I’m hoping that somebody out there might stumble across this and know the solution.

  • GregP:

    OK, I got it sorted out. Turned out my problem was that I combined the instructions above with very similar ones that I found on another site. Once I very explicitly followed the above instructions, it worked. Like Roger, I had to manually go into my controls.ini file and set the axis that way, but doing that indeed worked. Thanks Jim and Roger!

  • Aleksandar:

    I have a question the glovepie website says that it has been hacked by some Serbia Hacker any ideas

  • Jim:

    Hard to say. Sometimes browsers like Chrome or Firefox say that the website has been hacked, when in fact, nothing’s actually happened. If in doubt, contact the webmaster to have them check their site out.

    Thanks,

    Jim

Leave a Reply