Basic vJoy script on windows 10

Official forum for open source FreePIE discussion and development.
Post Reply
dschu012
One Eyed Hopeful
Posts: 8
Joined: Fri Nov 06, 2015 4:26 pm

Basic vJoy script on windows 10

Post 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?
CyberVillain
Petrif-Eyed
Posts: 2166
Joined: Mon Jun 22, 2009 8:36 am
Location: Stockholm, Sweden

Re: Basic vJoy script on windows 10

Post by CyberVillain »

Hi, download and replace the dlls from the 216 sdk. This will be fixed in next version of FreePIE
dschu012
One Eyed Hopeful
Posts: 8
Joined: Fri Nov 06, 2015 4:26 pm

Re: Basic vJoy script on windows 10

Post by dschu012 »

Awesome, that was it. Thanks for the help.
Post Reply

Return to “FreePIE”