Add wheel rotation lock to Gimx configs. #709
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello and good day Matlo!
I want to start out with a thank you for the wonderful piece of software you wrote for the world to enjoy. I have been using GIMX for a few weeks now with a home-built adapter, and it works well!
However, nothing is ever perfect. I was pretty well used to drifting in GT6 under the 540* setting available with the button combo on my G27. So when I fired up GT7 for the first time to find out this was not an option, I panicked a bit. After having a look around at the source, I had found that your layout for
haptic_tweaksspelled out a switch case for RANGE. Perfect, I now had a hard-coded version of GIMX for 540* lock.I spent the couple days figuring out CodeBlocks and wxSmith as I desired more and more to share this. I had seen quite a few posts asking if this was possible, so I wanted to put some effort down to help ease this request. Gimx-Config now includes a separate control in the FFB Tweaks tab to control wheel rotation ceiling, mirrored logic to FFBTweaks. This creates a whole new node within the config to avoid conflicts with existing configs, structured like so:
Please, have a look at my PR here, feel free to criticize my work as you feel necessary. C/C++ is not my primary language. Some technical details here, I added a whole new node to the XML configs to avoid causing issues with currently modified config files. I have done some basic debugging and everything seems to work as intended.