-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
m66 - Conditions have no effect on gated axis actions #293
Comments
Note 2: Setting up the condition on the entire container resulted in the Vjoy Remap action being deactivated correctly, however the gated axis inputs were not. |
I'd expect conditions to fail for keyboard, joystick or vjoy because they are all "the same" except in what they check. Let me see what I can do about it because I'm pretty sure I coded conditions for nested containers - what I fear is they are being ignored, so thanks for reporting. |
The plot thickens. Now testing for a gate crossing. |
Found an interesting inversion of button press in the logic for gate crossing. Fixed in the next patch. |
resolved as of m67d and tested ok. |
Not a huge issue as there is a workaround: set the condition at the lowest level of execution. But it would make life easier if we could set a condition on the Gated axis as a whole. Especially if there are a lot of gates or ranges. |
m70 had some enhancements around condition evaluation and tracing. |
I am unsure if this is new with m66 as I have only been replacing all my virtual buttons axis events by gated axis recently. It might have been present in previous releases.
Whenever VJoy conditions are setup on gated axis, those conditions are ignored and the actions are executed regardless. Ex:
In this case, I have Vjoy 9 / Button 40 setup in such a way that when pressed, Auto Boost is enabled at then end of my thrusters axis in SC. If disabled, there is no auto-boost. VJoy 9/40 state is controlled by a switch on the panel.
My Axis (2) Y (Fwd-Aft thrust) was setup like this in the same container:
![Image](https://private-user-images.githubusercontent.com/157264378/404691261-1f6f3575-77d6-4faa-b866-465ec3038dd5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzUzNTgsIm5iZiI6MTczOTE3NTA1OCwicGF0aCI6Ii8xNTcyNjQzNzgvNDA0NjkxMjYxLTFmNmYzNTc1LTc3ZDYtNGZhYS1iODY2LTQ2NWVjMzAzOGRkNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwODEwNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNjJhMzFjNTViODlmMDllODM1MzJlZjIyYzg2ODM5YmQwMGRmZDM4ZWQ1ZjYzYTlkYjRmMTRhOGU5ODg2NWY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ZroasmeUPwB-E9Mz4KAj1xmGqorSI5FkzVdw4ETQboM)
(1) Vjoy Remap for axis mapping in the game, and
(2) A Gated Axis action to trigger the auto boost at the end of the axis (passing 0.95 and -0.95)
![Image](https://private-user-images.githubusercontent.com/157264378/404691247-8f41e122-4e18-44db-bd03-59a5e6247131.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzUzNTgsIm5iZiI6MTczOTE3NTA1OCwicGF0aCI6Ii8xNTcyNjQzNzgvNDA0NjkxMjQ3LThmNDFlMTIyLTRlMTgtNDRkYi1iZDAzLTU5YTVlNjI0NzEzMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwODEwNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04Y2FkYmNlNzY0ODUzZWM0NWNlZTdmM2QzNGI2ZjQzMTAwMmE5ZGQyN2UyMDE4OTZiMzc5NTBhOWExMTZlZGVjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.-IBBItrYH95FAKrd84mdENWP_BWekztQQee80AvcEDk)
I have tried two different ways to setup conditions:
(1) One global condition on the gated axis container:
![Image](https://private-user-images.githubusercontent.com/157264378/404691327-cb7938d2-477b-4bc4-8875-e737f8528815.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzUzNTgsIm5iZiI6MTczOTE3NTA1OCwicGF0aCI6Ii8xNTcyNjQzNzgvNDA0NjkxMzI3LWNiNzkzOGQyLTQ3N2ItNGJjNC04ODc1LWU3MzdmODUyODgxNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwODEwNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYzJkM2Y0YzA5ZjMxOTc5ODIxODQ4OWFkNzMzZWEwNDAwZmQ0MzEyZDIwZTgxZGE1Yjk5NDlkMTVhMjFmYzI2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.RYuuZOCUBJvU6pDIcBa-eBXv4DzYIWM3qG15IZ-HJ8w)
(2) Conditions on the gate crossing:
![Image](https://private-user-images.githubusercontent.com/157264378/404691357-e88aed84-7401-4085-8d36-e32941d5406f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzUzNTgsIm5iZiI6MTczOTE3NTA1OCwicGF0aCI6Ii8xNTcyNjQzNzgvNDA0NjkxMzU3LWU4OGFlZDg0LTc0MDEtNDA4NS04ZDM2LWUzMjk0MWQ1NDA2Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwODEwNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lYWQ2OTVlNTYxOWE2ZTJiNzViNjA3MTBmOGU0MTVlYWM0NjI1NjNhODY1ZWQ2YTE2MWViOTExYzA5MzJiNTZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.AFffOyGA7bIpc5Xv5z3jODDXunKyoi_TdZ38e9Tfwe4)
In both cases, when the profile was enabled, Auto Boost would still be activated even if Vjoy 9 Btn 40 was released, indicating that conditions are bypassed entirely when using gated axis.
The text was updated successfully, but these errors were encountered: