Script to use Mouse Scroll to Steering Wheel

Official forum for open source FreePIE discussion and development.
Post Reply
nosazik
One Eyed Hopeful
Posts: 2
Joined: Sat Jan 29, 2022 2:02 pm

Script to use Mouse Scroll to Steering Wheel

Post 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
Post Reply

Return to “FreePIE”