Only two softwares are needed:
- vJoy - Create virtual joystick on your PC. You'll need a feeder application to provide input to the virtual joystick.
- FreePIE - Emulate a virtual joystick and send the key buttons to vJoy.
Download vJoy here.
During installing it will prompt you to install a driver. Click YES and you'll see a new vJoy device in the Device Manager.
|A new vJoy Device found in Device Manager upon successful installing of vJoy driver.|
|vJoy program folder.|
Download FreePIE here.
|FreePIE main UI window.|
Launch FreePIE and copy and paste the following Python script. Note that this is not my work and you'll find the original post written by a guy called Skagen here.
Save the file as mousesteering.py
Press F5 or Script > Run Script.
You can verify that the input is working by seeing the Watch tab at the bottom or launching vJoy Monitor
|A script running on FreePIE.|
|vJoy Monitor that monitors our feeder application, i.e. the FreePIE script|
The mousesteering.py ScriptThe script accepts the following analog inputs (i.e. the value will increasing more the longer you hold down the analog key). There are also various key inputs for Z, Rx, Ry, sl0, and sl1. But I find that the X-Axis is enough to simulate the steering wheels. You might use other analog keys for analog pedal, brake, etc.
- X- Axis - Move mouse device/spinner to the left
- X+ Axis - Move mouse device/spinner to the right
- Y - Left mouse button
- Rz - Right mouse button
Example - Sega Model 2 Emulator
Here is an example of setting the analog control for Daytona USA for Model 2 Arcade emulator.
|Configuring vJoy X-Axis as the steering control in Daytona 2 USA emulated via Model 2 Emulator.|
Enjoy using your mouse or spinner in various system!