AndersMalmgren / FreePIE

Programmable Input Emulator
644 stars 144 forks source link

Headsoft VJoy support (like PPJoy but supports 64-bit) request #12

Closed cdahmedeh closed 11 years ago

cdahmedeh commented 11 years ago

Currently, PPJoy only supports 64-bit when driver signing is disabled. There is a driver by Headsoft that does Joystick emulation, but also has a signed driver so it easier to setup on a 64-bit Windows system.

The website is here: http://headsoft.com.au/index.php?category=vjoy

I can try writing the driver myself using their C# SDK, but I'm a Java developer. I might be able to have a pull request ready soon, but then again, if a more experienced C# developer can take this into their hands, so be it!

AndersMalmgren commented 11 years ago

Nice find! I can have a look it

AndersMalmgren commented 11 years ago

Tested the SDK which was very complete, so I will implement it ASAP. Will keep ppJoy though because VJoy only has support for 2 devices

AndersMalmgren commented 11 years ago

Please try this branch

https://github.com/AndersMalmgren/FreePIE/tree/VJoy

cdahmedeh commented 11 years ago

I'll give it a shot when I get home tonight. Thanks a lot for the quick implementation, well appreciated!

AndersMalmgren commented 11 years ago

Yes please do, I want someone else to try it before I merge it into master

cdahmedeh commented 11 years ago

Alright, installed VS2012 Express Edition, compiled it, ran it. Looks like it works fine to me, both virtual joysticks, axis, buttons and POV.

Good job! I'm very excited to see FreePIE progress! Let me know if there's anything specific you want me to look at...

AndersMalmgren commented 11 years ago

Thanks, just wanted someone else to test it before i merge to master.

jordam commented 11 years ago

Headsoft's VJoy stops working after being loaded for 5 minutes. It doesn't say this on the website, but they only offer a demo version unless you contact them.

Re-initializing regularly fixes this from what I hear.

AndersMalmgren commented 11 years ago

Thanks for heads up. I sent them a mail,. lets see if they can offer us a License key.

AndersMalmgren commented 11 years ago

@jordam Can you please try to replace the VJoy.dll in the FreePIE folder with this VJoy.dll?

https://github.com/AndersMalmgren/FreePIE/raw/VJoyFiveMinuteFix/Lib/VJoy/VJoy.dll

cdahmedeh commented 11 years ago

Out of curiosity, how does the new .dll fix the issue?

AndersMalmgren commented 11 years ago

Changed a bit which disables that undocumented time limit

sthalik commented 10 years ago

Hey,

Is it safe to ship hexedited vjoy.dll with opentrack? I'd like to use it as well.

-sh

AndersMalmgren commented 10 years ago

Well, Its undocumented so I guess it must be a bug that we fixed for them

sthalik commented 10 years ago

:+1: that made my day.

Surely, they should pay you for the amazing work you've done with such little debug information...