Closed VladSalat666 closed 5 years ago
Hi Vlad,
This sounds great. I will pull my wheel out of storage tomorrow to test. ^_^
I've created pull request with fix
Pull request merged.
The wheel numbers have never looked so good. Thank you Vlad!
I just made a 99% similar change to the logitech-g27 library for users of that older wheel system. Thanks again for not only reporting this issue but figuring out the fix for it too. Much appreciated. ^_^
You are welcome!😉
Hello
Could you add fix to lib?
If you will turn wheel slowly, you will observe leaps of wheel turn value, so I have fixed this issue Just change this code:
wheelCourse = wheelCourse / 255 * 99 // 99 instead of 100 so wheelCourse and wheelFine add up to 100% when they are both maxed out
wheelFine = wheelFine / 255
on
wheelCourse = wheelCourse / 255 * ( 100 - ( 100 / 256 )) // 99 instead of 100 so wheelCourse and wheelFine add up to 100% when they are both maxed out
wheelFine = wheelFine / 255 * ( 100 / 256 ) // multiplied on this coefficient because of difference between an adjacent values is not 1
in the data-map.js