i've been messing with a little script someone else wrote that creates a virtual xbox 360 controller where the X and Y joystick are controlled by a mouse. i modified it so you can control both virtual sticks with 2 different mice and left and right click of the first mouse also map to A and B. it handles relative values from devices as well as absolute values (such as what DualShock controllers use). it's been awesome on #microslop flight sim 2020, i use my smartwatch to control the collective and throttles in a natural way and a PS4 controller attached to a board which is itself taped to a big bowl to control rudder/tail rotor.
i ordered some actual flight pedals but it's good i still worked on this after ordering because the seller on ali might be doing something fucky, they told me the pedal isn't made anymore and to cancel the order. i'm not gonna do anything and see what happens.
repo if interested: https://github.com/tyzbit/msfs_mouse_yoke
(this code is not high quality, nor is it really intended to be right now)
#msfs2020 #msfs2024 #python #pythondev