-
Notifications
You must be signed in to change notification settings - Fork 24
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
[BUG] : DcsBios::Potentiometer min & max values are not limiting the travel of the in-game lever #60
Comments
for video of the issue, see |
I am not a C++ programmer, but the following snippets seem to work for me to constrain the values within input_min & input_max : in Potentiometers.h
|
Tested with bort and appears to behave as expected. Moving this to the arduino repo |
not sure what you mean by "behave as expected"? Is the function, when supplied with a min/max, supposed to reset to the minimum when maximum is reached? Or do you mean the PLT_FLAPS_LEVER call does move the flaps so the call behaves as expected? |
I mean bios appears to be behaving properly. When the lever is moved to the maximum value via bort or any other test tool or command, it does not reset to minimum. There may be a bug in the arduino library calling bios - I don't know, I don't do any arduino development with bios - so I've moved the issue to that repository so those who are more familiar with this code can evaluate the issue you're experiencing. |
DCS-BIOS version
DCS Unified 2.9.3
DCS-BIOS Control
PLT_FLAPS_LEVER when using DcsBios::Potentiometer
Describe the bug
To Reproduce
Expected behavior
once the max value is reached, the movement should stop & not loop around
Screenshots
n/a
Additional context
The text was updated successfully, but these errors were encountered: