AutoHotkey Community

It is currently May 26th, 2012, 11:01 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: PPJoy - Virtual Joystick
PostPosted: October 31st, 2009, 11:31 pm 
Offline

Joined: September 23rd, 2006, 1:58 pm
Posts: 149
Quote:
What is PPJoy?
PPJoy is a joystick device driver for Windows 2000 and later. There is also limited support for Windows 98 and Windows Me. PPJoy was designed for joysticks connected to the parallel port but it also supports other devices via the virtual joystick interface

Supported devices are:
...

* Joystick emulation using the keyboard or mouse

Windows will treat these devices just like any other joystick and they can be used in any game or application that accepts joystick input.
Why PPJoy?
There are lots of USB joysticks out there that are a lot less hassle to install and configure. So here is why you may want to use PPJoy:

* PPJoy is free for non-commercial use and you may already have a perfectly good controller supported by PPJoy.
...
* You want to emulate joystick input from another application.


PPJoy seems to be a good way to simulate Joystick-Input. It offers:
Keyboard & Mouse to Joystick translation and
a DLL to directly control the virtual Joystick.

The authors Website seems to be down, but PPJoy can still be found on variouse download-sites, e.g. http://www.simtel.net/free/Miscellaneous-Utilities/PPJoy/75176.html
I stored it on my autohotkey.net-account to keep it availiable:
http://www.autohotkey.net/~Zed_Gecko/PPJoy/PPJoySetup.zip


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 1st, 2009, 11:19 pm 
Thx for sharing. Much appreciated 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 9th, 2010, 6:10 am 
Offline

Joined: January 3rd, 2010, 12:28 am
Posts: 4
I have written this library to help AHK control a PPJoy virtual joystick. If someone finds it useful, I would love to hear what they did with it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: keyboard question
PostPosted: May 23rd, 2010, 12:18 am 
Hi guys,

One question, with this lib, AHK and PPJoy, will I be able to control an application that works ONLY with an external controller, without the actual controller?

So basically I want to use a standard keyboard, and the application sees it as a joystick, controller, doesn't matter.

Thanks for the help.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 23rd, 2010, 12:45 am 
Offline

Joined: January 3rd, 2010, 12:28 am
Posts: 4
Yep, that's the idea. When you install PPJoy and set up a virtual controller, your app will see that as a normal joystick. Then you use AHK to control the buttons and axes on that virtual joystick.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: keyboard controls
PostPosted: May 23rd, 2010, 1:01 am 
Perfect! I'll try to configure this when I get home. I'll follow your instructions in the thread with the lib.

I need it for a RC simulator. I can't take to my workplace the controller, because of obvious reasons, so I've been searching for a way to use only the standard keyboard for this. Most RC flight sims do not have keyboard controls, they only work with a controller.


Btw, thanks for the fast answer.


Report this post
Top
  
Reply with quote  
 Post subject: keyboard controls
PostPosted: May 26th, 2010, 12:47 pm 
Hi again,

Sorry, I can't seem to be able to get this working. I set up a virtual controller, but I don't know how to make AHK control it with keyboard mappings.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 9th, 2010, 1:21 pm 
Hi guys. What a great tool! I mean PPJoy + provided library. Just one question - is it possible to set PPJoy position with actual value but not with percents? For some applications 100 levels of sampling is not enough.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 16th, 2010, 6:01 am 
Offline

Joined: January 3rd, 2010, 12:28 am
Posts: 4
Sergey wrote:
is it possible to set PPJoy position with actual value but not with percents?

Apparently I didn't implement that in my DLL, although I did name the methods as if I was going to later. If you know any C at all it would be fairly easy to add them (I included source code in the zip), but I probably won't get around to it for a long time.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 19th, 2011, 10:22 pm 
I need an adress to show me how I can transform my Mouse into a Joystick.
I've searched (poorly, I admit, as I'm not US- or UK-native) for the ppjoymouse.exe, but i can´t find it.
Instead, i've only found cute girls trying to sell me solutions to the dangers that ppjoymouse represents to my PC...

ahhhh....

Is it so hard to play Dune 2000 on an emulator with a mouse??

I thank you for your time.

P.S.: Excuse my terrible English...



Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], SKAN and 5 guests


You can post new topics in this forum
You can 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

Search for:
Powered by phpBB® Forum Software © phpBB Group