Page 1 of 1

Basic vJoy script on windows 10

Posted: Fri Nov 06, 2015 4:32 pm
by dschu012
I just installed vJoy_216_150815 on Windows 10 and was hoping to play around with FreePIE some. I noticed I could set the joysticks states with no problem. ex:

Code: Select all

vJoy[0].x = mouse.deltaX
and can verify that via vJoy monitor. However when I try to set the state of a button

Code: Select all

vJoy[0].setButton(0, keyboard.getKeyDown(Key.A))
I get an error "Maximum buttons are -4. You need to increase number of buttons in vJoy config"

vJoy is configured for 8 buttons... is there some issue with the driver on Windows 10, or an I doing something wrong?

Re: Basic vJoy script on windows 10

Posted: Sun Nov 08, 2015 5:17 am
by CyberVillain
Hi, download and replace the dlls from the 216 sdk. This will be fixed in next version of FreePIE

Re: Basic vJoy script on windows 10

Posted: Sun Nov 08, 2015 2:46 pm
by dschu012
Awesome, that was it. Thanks for the help.