Some sample FreePIE scripts like "vJoy setup" to setup any game for use with a vJoy device
Configure any game to use your vJoy device instead of the real joystick device.
Usage guide:
- you need TWO vJoy devices - one to be set up and a temporary one to read the configured vJoy events
- modify your script to send the vJoy events to the temporary one instead of the regular vJoy device
- start your script
- start another instance of FreePIE and load+run this script
- to start recording press Ctrl+Alt+S
- select which type to record, currently there are two types implemented:
- joysticks - Ctrl+Alt+J
- keyboard (kinda useless except as an example) - Ctrl+Alt+K
- trigger the event you want to record, for joystick events make sure to move the axis all the way into the desired direction
- once an event is recorded you can start the delayed playback (about 10 seconds delay) by pressing Ctrl+Alt+P. That should be enough time to switch to the target process and start the event recording there.
- you can either repeat the playback or start a new recording
- stop this script
- stop your script, reconfigure it to use the regular vJoy
- start your script
It might be necessary to run FreePIE as administrator.
It's also not foolproof, as both vJoy devices have the same name...