Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raptorswing committed Jan 1, 2015
1 parent 5151800 commit 85030d5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
MouseToJoystick
===============

A simple vJoy (virtual joystick) feeder program which converts mouse to joystick. Written in C++/Qt5. Requires windows because it uses vJoy.

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 simulated a joystick.

I wrote this so that I could play the 1998 win32 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.
2. Install the vJoy virtual joystick driver (http://vjoystick.sourceforge.net)
3. Run MouseToJoystick
4. Double right-click to enable "joystick mode". Your mouse cursor will be centered and deviations from the center when you move the mouse taken as joystick inputs.
5. Enjoy using your mouse as a joystick by playing a game (e.g. Tie Fighter).
6. Double right-click again to disable "joystick mode" when you need your mouse again.

Note: You may want to minimize the MouseToJoystick window while playing a game since the GUI can sometimes "bleed" through the game (at least this seems to to be the case with Tie Fighter).

0 comments on commit 85030d5

Please sign in to comment.