Spaghetti copypasta code that makes a Mac understand i-bus data coming from a Flysky receiver through serial as joystick input.
- Connect receiver through a serial device (FTDI, Arduino,...) to Mac
- Edit serial device name in
ibus_vjoy.py
- Compile:
g++ main.cpp -o vjoy -framework IOKit -std=c++11
python ibus_vjoy.py
- Enjoy FreeRider !