Page 1 of 1

Script to use Mouse Scroll to Steering Wheel

Posted: Sat Feb 05, 2022 4:14 pm
by nosazik
I want to use Vjoy codes mouse.wheelUp , mouse.wheelDown , mouse.wheel , mouse.wheelMax Rotary Mouse Encoder to make Diy steering wheel.
Anyone know a script can make X axis move smoothing.
Like a steering = steering + ((float(mouse.deltaX) * mouse_sensitivity) / steering_center_reduction)
But need to calculate the speed too.
i don't know how to do, so aprecciate if someone help me.
Rotary Encoder coding