JoystickGremlin icon indicating copy to clipboard operation
JoystickGremlin copied to clipboard

Reset relative axis?

Open mkaito opened this issue 4 years ago • 3 comments

Hi!

I'm using two relative axis remaps to move a camera around. I'd love a button mapped to reset these two axis back to center. What would be the best way to do this?

mkaito avatar Sep 02 '21 00:09 mkaito

A macro action that sends absolute vJoy axis values of 0 to each axis should do the trick for that.

WhiteMagic avatar Sep 02 '21 07:09 WhiteMagic

That did the trick indeed.

There's also some odd behaviour regarding relative axis with a response curve. They "go back" when you release the axis. Is this a known issue, should I make a new issue for that, or am I doing something wrong?

mkaito avatar Sep 03 '21 00:09 mkaito

It depends on what your response curve looks like, if it sends a non-zero value at rest then it is expected that the value will change, as Gremlin won't see a zero anymore but whatever value the response curve provides.

WhiteMagic avatar Nov 18 '21 17:11 WhiteMagic