Mapping Mouse Move to a GamePad Stick #63
luttje
started this conversation in
🐕🦺 Tips & Tricks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To play games that support controllers, with mouse and keyboard, you can map your mouse movement to the right gamepad stick. In most games this will allow you to look around. However there are some caveats to consider:
We'll discuss the problem and solution below.
Mapping Setup
In this setup we've reduced the sensitivity by setting the delta scale to 0.1 for X movement and -0.1 for Y movement. The stick also resets to it's 0,0 position after 50 milliseconds. This feels better than constantly following the mouse around.
Block default mouse movement
In order to only let the simulated GamePad stick movement arrive at the game (and not the mouse movement as well), you should enable these configurations in
Tools
>User Configurations
:Reset the center after the game has started
In most games when you start, the cursor will be moved somewhere on the screen. This causes the following problem in Key2Joy:
To fix this we need to be able to re-center the cursor once in-game. For that we can setup the following action (which we've bound to L):
With this
ResetMouseMoveTriggerCenter
App Command configured, you can fix Key2Joy after step 5 above and press 'L' while in-game. This will nullify the center. You should then give you mouse the smallest move, so whatever position it is at right now is registered as the new center.🐛 Notes on this behavior
I'm looking for ways to make this more intuitive and less work for you, the user. I'm progress on that in this issue: #64
Beta Was this translation helpful? Give feedback.
All reactions