It is currently Tue Jun 25, 2019 10:43 pm



Reply to topic  [ 2 posts ] 
 Freepie no longer setting PPJoy Virtual Joystick axis 
Author Message
One Eyed Hopeful

Joined: Sun Jan 06, 2019 7:43 pm
Posts: 2
Reply with quote
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:
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)


Sun Jan 06, 2019 7:55 pm
Profile
One Eyed Hopeful

Joined: Sun Jan 06, 2019 7:43 pm
Posts: 2
Reply with quote
Got it working. I uninstalled and re-installed PPJoy.


Sun Jan 06, 2019 8:20 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.