raptorswing / MouseToJoystick

A simple vJoy (virtual joystick) feeder program which converts mouse to joystick. (Re)Written in C#. Requires Windows because it uses vJoy.
MIT License
63 stars 19 forks source link

game freezes when tool open #12

Open dassschaf opened 5 years ago

dassschaf commented 5 years ago

Whenever I try to play TrackMania United Forever (latest version) and set it up so I can play with my mouse it freezes and immediately recoveres as soon as the tool is closed.

raptorswing commented 4 years ago

Hello. Sorry for the extremely delayed response. I've created a new beta version, here, which is basically a rewrite of the tool. Please feel free to give it a try and maybe it will help.

thfrei commented 3 years ago

Hello @raptorswing Thank you for your great effort! I had the exactly same issue that @dassschaf describes when playing the old game "Starlancer". I double cick the game exe, however nothing happens. When I closed the version1 it worked.

With the new beta, the game starts. The joystick seems to work in windows.

2021-03-19 13_32_28-game freezes when tool open · Issue #12 · raptorswing_MouseToJoystick

vjoywin

In the game however, I end up in an endless role, like the joystick sticks to one position, like left down.

I have a touchscreen on my laptop (Thinkpad Helix: Touchscreen, Trackpoint, Mousepad, USB-Mouse). When i use the touchscreen, I get a correct joystick movement. I can go with my finger on the screen, moving from center and back, and the ship makes a nice turn. So I guess the resolution thing works. However, when I leave the screen, I end up in a roll.

Does the tool maybe choose another mouse device? Any other ideas?

Please also tell me, if you need more information. By the way, starlancer is abandonware: https://www.myabandonware.com/game/starlancer-bcj

Thank you in advance for your efforts.

raptorswing commented 3 years ago

Hi @thfrei

  1. Does starlancer run fullscreen?
  2. Do you have more than one display connected?
  3. Does starlancer lock the mouse to its display, or is the mouse to other displays while you're trying to play?
  4. Are you using the "automatic" screen size in MouseToJoystick, or setting it manually?
thfrei commented 3 years ago

Thank you for your reply. In time, I bought a real Joystick, which I figured will be more fun. So I cannot really reproduce the issues any more. If it helps, I posted the answers below.

Thank you for your time anyway. I guess we can close the issue.

Hi @thfrei

1. Does starlancer run fullscreen?

Yes, it run fullscreen.

2. Do you have more than one display connected?

Connected yes (Lapto with external display), but active was only one screen, the external monitor.

3. Does starlancer lock the mouse to its display, or is the mouse to other displays while you're trying to play?

It was on the external monitor.

4. Are you using the "automatic" screen size in MouseToJoystick, or setting it manually?

I think, I was using automatic, but I also tried the fixed resolution.