Yamakaky / gyromouse

A crossplatform mapper from gamepad inputs to keyboard and mouse actions, with special care for good gyro controls.
15 stars 1 forks source link

Fix motion stick deadzone usage #24

Open github-actions[bot] opened 3 years ago

github-actions[bot] commented 3 years ago

stick.handle will apply its own deadzone setting to our calibrated input, thinking it's a raw value.

Line: 44 https://github.com/Yamakaky/gyromouse/blob/00de50c1ddeb3fae02f58bf3246c8be716c2da96//src/motion_stick.rs#L41-L51