Axes values sticking when switching modes #574
Unanswered
Bettarecognize
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
As Gremlin reacts to inputs there is no reason for it to update an axis that is not mapped. From your description it's not fully clear what behaviour you really want and the solution is different depending on that. If you want to reset axes to a specific value when you switch a mode you can do that with a Macro. However, if you want to mirror some physical axis value then you have to use a plugin as you don't get access to that information within a Macro. An example of a plugin that does something slightly in that direction is this one here https://gist.github.com/WhiteMagic/f6dab456dc0cc3b7496b768ab735f4ba |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Firstly, thank you for this awesome program. I've been loving using it.
My problem is the program freezes the input of the axes in the default mode when switching to Mode 1 or Mode 2 until I return to the default mode and input is registered on those X, Y, Z axes again. Same thing for the X Rotation, Y Rotation, Z rotation values when switching from Mode 1 or Mode 2 back to default.
I'm trying to setup each of my joysticks to double their axes in game. I have 2 Vjoys setup with 7 axes each. So the left stick my default mode uses Vjoy 1 and the X, Y, Z axes and the 'Mode 1' uses the Vjoy1 X Rotation, Y Rotation and Z Rotation axes but keeps the original X, Y, Z axes for the right stick on Vjoy2. The right stick is setup similarly so that the default mode is Vjoy2 X, Y, Z axes and 'Mode 2' X Rotation, Z Rotation axes but keeps the original X, Y, Z axes for the left stick on Vjoy1.
To switch modes I used a temporary switch mode basic that is activated to Mode 1 or Mode 2 when joystick button 1 is pressed on the left or right stick respectively and then another temporary switch mode basic that is activated to default when joystick button one is released.
Is there a better way to set this up so the Axes values will clear when switching modes?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions