
Configuration Files
Magic-Box uses 3 types of YAML files to map your joystick, throttle and rudder inputs into RC-friendly signals.
The first file type defines binding for axes, switches, knobs, etc. This file, created per USB device, tells us what features the device has and how it is bound to USB events. It can be shared and built by the community. If your HOTAS isn’t supported, it is straightforward to create this kind of file on your own.
There is also a second type of file, which we call channels-binding-file. This file is created for each RC model with custom channels mapping. In this file, you map your HOTAS inputs to RC channels. Imagine this as assigning a switch or an axis to a chosen channel. For example, the axis for roll will be bound to channel 1 etc.
Finally, there is a last type, the profile file. In this file you can match your devices binding and channels binding to support different aircraft and rigs.
Examples of a Simple Joystick Module
Below is a simple example of a Logitech X56 joystick binding file:
joystick-module:
device-id: 'A-HOS-HL' ## change this to your device ID
axes:
roll:
axis: 0
reversed : no
pitch:
axis: 1
reversed : yes
pan:
axis: 4
reversed : no
The X56 joystick has pan axis so you can use it instead of pedals for rudder.
More Advanced Mapping
Below is an example for a Logitech X56 Throttle:
Examples of Channels Mapping
Now, you can use any name created above to bind USB inputs to your rc channels. See below:
Wow, if you got so far, here is a cool vid for you..
Last updated