Logi G25 pedals + PPJoy problem Win7_32b
Logi G25 pedals + PPJoy problem Win7_32b
Hello, as you can see on the picture below, I've set a virtual joystick using PPJoy and GlovePie to act as rudder pedals. It uses accelerator and clutch pedals of Logitech G25. In Windows game controllers panel it works fine, but I can't assign it to Condor. If I press any of the pedals, Condor gets pedal from G25 instead of PPJoy Virtual Joystick 3 axis 1.
I've looked into the controls.ini file and I've found, that controllers have some code names (my mouse is [{6F1D2B60-D5A0-11CF-BFC7-444553540000}]) so I've tried to find this code in windows registry but with no luck. My idea was to paste code of PPJoy Virtual Joystick 3 code into controls.ini - but as I compared mouse registry key values and controls.ini code -they don't match.
Any idea to make Condor see my virtual joystick ?
Best regards, Czarek.
I've looked into the controls.ini file and I've found, that controllers have some code names (my mouse is [{6F1D2B60-D5A0-11CF-BFC7-444553540000}]) so I've tried to find this code in windows registry but with no luck. My idea was to paste code of PPJoy Virtual Joystick 3 code into controls.ini - but as I compared mouse registry key values and controls.ini code -they don't match.
Any idea to make Condor see my virtual joystick ?
Best regards, Czarek.
You do not have the required permissions to view the files attached to this post.
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
There are 2 options.
1. You need to make PPJoy moving while pedals not moving during controls assignment in Condor. I don't know details about GlovePie but with Autohotkey i did this using small separate script.
2. Try to press "Zaawansowane..." button, in the appeared dialog choose PPJoy as preferred device and try to assign controls in Condor. I didn't try this and so can not guarantee result .
1. You need to make PPJoy moving while pedals not moving during controls assignment in Condor. I don't know details about GlovePie but with Autohotkey i did this using small separate script.
2. Try to press "Zaawansowane..." button, in the appeared dialog choose PPJoy as preferred device and try to assign controls in Condor. I didn't try this and so can not guarantee result .
Re: Logi G25 pedals + PPJoy problem Win7_32b
Hi, thanks for the answer. I've already set PPjoy Virtual Joystick as preferred device, but it didtn't help.
Can you help me with the script for the AutoHotKey ? AHK script should move my PPjoy axis left to right without pressing any of the pedals, then I press assign in condor ?
Can you help me with the script for the AutoHotKey ? AHK script should move my PPjoy axis left to right without pressing any of the pedals, then I press assign in condor ?
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
If you already have Autohotkey installed, also have PPJoy.dll and PPJoy.ahk the here is the script:
It exits by pressing button "A" on the keyboard. If you don't have some of the components mentioned above then let me know.
You should start this script, then start Condor, go to assignment dialog and double click rudder assignment. After couple of seconds it will be assigned to PPJoy.
Code: Select all
#include PPJ.ahk
OnExit, ExitHandler
PPJ_Init() ; Grab the Joystick
XVal := 50
delta := 1
Loop {
PPJ_SetAxis(1, Xval) ;Axis 1 is the X axis
Sleep 10
XVal := XVal + delta
if (XVal = 100)
{
delta := -1
XVal := 99
}
if (XVal = 0)
{
delta := 1
XVal := 1
}
}
Return
a::
PPJ_Term()
exitapp
Return
ExitHandler:
PPJ_Term() ; Release the Joystick
ExitApp
You should start this script, then start Condor, go to assignment dialog and double click rudder assignment. After couple of seconds it will be assigned to PPJoy.
Re: Logi G25 pedals + PPJoy problem Win7_32b
Thnks a lot, but no luck this time. As I run the script and go to assign options it doesn't change anything in my inputs. Should it move my virtual controler also in game controllers manager in windows ? My only PPjoy axis is still - no movement there.
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
Sure. It should move PPJoy axis in the windows game controllers manager. But it is mandatory to have PPJoy.dll in the working folder of this script or else it is useless. Do you have it (dll)?
Re: Logi G25 pedals + PPJoy problem Win7_32b
What I did - I reinstalled AHK to different location (read somewhere that installing and running scripts at Program Files directory in Win7 sometimes generates some problems), put all the files in one place as you can see on the picture. But to be sure :
1. GlovePIE is not running when I'm to ssign controls to Condor.
2. Run script you've pasted above (I've called the file G25rudder.ahk).
3. Go to the windows game controllers manager - but nothing moves here.
I wonder if my PPjoy Virtual Joystick is set properly, but in the other hand it works with GlovePIE as expected with clutch and accelerator pedals...
1. GlovePIE is not running when I'm to ssign controls to Condor.
2. Run script you've pasted above (I've called the file G25rudder.ahk).
3. Go to the windows game controllers manager - but nothing moves here.
I wonder if my PPjoy Virtual Joystick is set properly, but in the other hand it works with GlovePIE as expected with clutch and accelerator pedals...
You do not have the required permissions to view the files attached to this post.
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
I have no idea what's wrong ... On my win7-64 this script (and all others which use ppjoy) works without any problems.
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
Maybe this ppjoy.dll can't work with your ppjoy driver? I see that we have the same DLLs. My driver details are:
date: 4-Nov-2011
version: 0.84.5.0
driver file: C:\Windows\system32\DRIVERS\PPortJoy64.sys
Another thing - game controllers manager should have focus or else joystick position will not be moved. On the screenshot below it has focus and moving. As soon as i click to other window it stops moving.
date: 4-Nov-2011
version: 0.84.5.0
driver file: C:\Windows\system32\DRIVERS\PPortJoy64.sys
Another thing - game controllers manager should have focus or else joystick position will not be moved. On the screenshot below it has focus and moving. As soon as i click to other window it stops moving.
You do not have the required permissions to view the files attached to this post.
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
I searched Internet on this subject and found the following about ppjoy.dll:
"By default, this DLL only allows access to the FIRST PPJoy Virtual Joystick.
If you want to control a different virtual joystick, then:
(first make a backup and) open your PPJoy.dll file in a hexidecimal editor (XVI32 is a good one)
Go to address $140E
You'll probably see something like: PPJoyIOCTL1
That's a reference to the FIRST PPJoy device.
To control the 2nd virtual joystick, simply change that digit to: PPJoyIOCTL2
To control the 5th virtual joystick, simply change that digit to: PPJoyIOCTL5"
Looks like this is the cause of your problem because you have PPJoy #3 while i have #1.
"By default, this DLL only allows access to the FIRST PPJoy Virtual Joystick.
If you want to control a different virtual joystick, then:
(first make a backup and) open your PPJoy.dll file in a hexidecimal editor (XVI32 is a good one)
Go to address $140E
You'll probably see something like: PPJoyIOCTL1
That's a reference to the FIRST PPJoy device.
To control the 2nd virtual joystick, simply change that digit to: PPJoyIOCTL2
To control the 5th virtual joystick, simply change that digit to: PPJoyIOCTL5"
Looks like this is the cause of your problem because you have PPJoy #3 while i have #1.
Re: Logi G25 pedals + PPJoy problem Win7_32b
Works ! Works ! Works !
It was your last idea - my PPjoy was no 3 and that's why the script was not working. I've removed this controller and addes a new PPjoy Virtual Joystick and it started working right away.
Thank you very much for your help, now I can use my pedals to control rudder
It was your last idea - my PPjoy was no 3 and that's why the script was not working. I've removed this controller and addes a new PPjoy Virtual Joystick and it started working right away.
Thank you very much for your help, now I can use my pedals to control rudder
- Tima (TSD)
- Posts: 1608
- Joined: Mon Dec 12, 2005 9:08 am
- Location: St.Petersburg, Russia
- Contact:
Re: Logi G25 pedals + PPJoy problem Win7_32b
One more piece of experience with PPJoy .