Skip to content
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

set axis value by 0.0001 or less in GUI #587

Open
someonemax opened this issue Jan 2, 2025 · 1 comment
Open

set axis value by 0.0001 or less in GUI #587

someonemax opened this issue Jan 2, 2025 · 1 comment

Comments

@someonemax
Copy link

It seems to be possible to set axis values with a precision of 0.0001 by editing the XML file.
But if you try to do so in the GUI, it will round the values to a precision of 0.001.

Can you please remove the rounding by the GUI?
Requiring such high precision might sound unnecessary, but the game "WarThunder" interprets the zoom axis non-linearly, which results in e.g. 1.000 zoom axis value giving twice as much zoom as 0.999.

@WhiteMagic
Copy link
Owner

While I can technically change this for R14 I am quite hesitant to do so as whatever high-precision I choose will be too much or too little in some cases, yet always be annoying for the common use case. I'm not even sure which of the myriad of input fields you are referring to either.

I don't know what the actual scaling Warthunder uses, but a logical choice would be exponential, such that having a logarithmic transform in Gremlin would be a nice way to handle cases where games do such odd things.

For your problem there are two workarounds I can think of.

  1. Modify the value in the XML file and never look at that binding in the UI, as that would cause it to change the value
  2. Use a custom plugin for the desired functionality where you can then define the value to DirectInputs precision limit (32 bit signed integer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants