Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 927 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 927 Bytes

MouseToJoystick

A simple vJoy (virtual joystick) feeder program which converts mouse to joystick. Written in C#. Runs only on Windows.

vJoy is a virtual joystick driver for Windows (see http://vjoystick.sourceforge.net). This program reads data from the mouse and feeds it to vJoy, which simulates a joystick.

I wrote this so that I could play the 1998 win32 version of Tie Fighter without a joystick. Side to side movement of the mouse is mapped to the joystick's X axis. Up/down movement of the mouse is mapped to the joystick's Y axis. Left click is joystick button 1, right click is joystick button 2.

How to use it

  1. Compile from source or download the binary (may require .Net Framework install/update)
  2. Install the vJoy virtual joystick driver (http://vjoystick.sourceforge.net)
  3. Run MouseToJoystick
  4. Enjoy using your mouse as a joystick by playing a game (e.g. Tie Fighter).