Freepie no longer setting PPJoy Virtual Joystick axis

Official forum for open source FreePIE discussion and development.
Post Reply
Bacon117
One Eyed Hopeful
Posts: 2
Joined: Sun Jan 06, 2019 7:43 pm

Freepie no longer setting PPJoy Virtual Joystick axis

Post by Bacon117 »

I am using FreePIE to set 2 axes on a virtual joystick. Worked great the other day, now, not so much. I can no longer set the virtual joystick axes. I have tried diagnosing the issue, and what I can see is that the virtual joystick driver cannot start (device manager says "This device cannot start (Code 10)"). I restart my PC and the device manager says it's working properly, but I still cannot set the values of either axis. Tried removing and adding the joystick in PPJoy config, but no joy (pun intended).

I'm already in test mode for the unsigned drivers (as demonstrated that this whole thing worked once).

Although I don't think it makes a difference, my code is below.

Any suggestions?

Code: Select all

diagnostics.watch(joystick["Logitech G27 Racing Wheel USB"].y)
diagnostics.watch(joystick["Logitech G27 Racing Wheel USB"].sliders[1])

diagnostics.watch(joystick["PPJoy Virtual Joystick 1"].x)
diagnostics.watch(joystick["PPJoy Virtual Joystick 1"].y)


ppJoy[0].setAxis(AxisTypes.X,0.5*joystick["Logitech G27 Racing Wheel USB"].y-0.5*joystick["Logitech G27 Racing Wheel USB"].sliders[1])
ppJoy[0].setAxis(AxisTypes.Y,(joystick["Logitech G27 Racing Wheel USB"].y+joystick["Logitech G27 Racing Wheel USB"].sliders[1])/2)
Bacon117
One Eyed Hopeful
Posts: 2
Joined: Sun Jan 06, 2019 7:43 pm

Re: Freepie no longer setting PPJoy Virtual Joystick axis

Post by Bacon117 »

Got it working. I uninstalled and re-installed PPJoy.
Post Reply

Return to “FreePIE”