Posted November 02, 2014
With the arrival of X-Wing and TIE Fighter here on GOG, and the requirement for a joystick with the Windows versions of the games, I decided to see what can be done about emulating joysticks with mouse and keyboard. I had tried this previously with X-Wing Alliance but never got anything working, so I remained with the standard XBOX 360 controller setup. Part of the problem was that PPJoy had no signed driver and I'm on a 64-bit Windows OS.
Anyway, revisiting this subject now I've found that PPJoy has been superseded by vJoy which is a signed driver. I've installed vJoy and I've used evilC's Universal Joystick Remapper (an AHK program) to take input from my 360 controller and send it to the vJoy controller. All this works fine, until I get in game.
Testing with X-Wing Alliance, the setup does point to the vJoy virtual joystick, and though I can enable/disable buttons on the controller, the thumbstick and trigger axes never seem to remap. I wanted to add a deadzone to them (as the Windows 360 controller driver has no deadzone settings) and I wanted to flip the RX and RY axes as taking the XInput from the controller and outputting it to DirectInput for the game results in RX being the vertical right stick axis and RY not mapped (due to a limit of DirectInput axes).
All of this works fine in Windows as I can see the vJoy calibration tests working as desired. However, as mentioned, when playing X-Wing Alliance the axes don't seem to map and I am stuck with same X, Y, Z and RX axes from the standard 360 controller driver.
So, any idea what is going on?
Additionally, does anyone know how to map mouse functions to vJoy axes and buttons? If that can be done then maybe I can get X-Wing Alliance playable with mouse and keyboard which can then be used for the Windows versions of X-Wing and TIE Fighter.
Anyway, revisiting this subject now I've found that PPJoy has been superseded by vJoy which is a signed driver. I've installed vJoy and I've used evilC's Universal Joystick Remapper (an AHK program) to take input from my 360 controller and send it to the vJoy controller. All this works fine, until I get in game.
Testing with X-Wing Alliance, the setup does point to the vJoy virtual joystick, and though I can enable/disable buttons on the controller, the thumbstick and trigger axes never seem to remap. I wanted to add a deadzone to them (as the Windows 360 controller driver has no deadzone settings) and I wanted to flip the RX and RY axes as taking the XInput from the controller and outputting it to DirectInput for the game results in RX being the vertical right stick axis and RY not mapped (due to a limit of DirectInput axes).
All of this works fine in Windows as I can see the vJoy calibration tests working as desired. However, as mentioned, when playing X-Wing Alliance the axes don't seem to map and I am stuck with same X, Y, Z and RX axes from the standard 360 controller driver.
So, any idea what is going on?
Additionally, does anyone know how to map mouse functions to vJoy axes and buttons? If that can be done then maybe I can get X-Wing Alliance playable with mouse and keyboard which can then be used for the Windows versions of X-Wing and TIE Fighter.
No posts in this topic were marked as the solution yet. If you can help, add your reply