Thanks to
- suxsem for the original code (https://github.com/Suxsem/symaxrx)
- MHeironimus for the joystick code (https://github.com/MHeironimus/ArduinoJoystickLibrary)
- execuc for the original code (https://github.com/execuc/v202-receiver)
- Deviationtx team for hacking the symax protocol (https://bitbucket.org/deviationtx/deviation/src/1194044d116b9611a015837226729e26de7e8365/src/protocol/symax_nrf24l01.c)
This code decodes frames from the Syma X5C-1, X11, X11C, X12,... transmitter with an Arduino Leonardo or Arduino Micro (Maybe also works on Arduino UNO with UnoJoy) and a NRF24L01 module and it then sends the data back to the USB port as if ir was gamepad. I've only tested it on Windows but should work on other Operting Systems as well.
We are using Arduino Joystick library v2 which is not included. So you must download and install the library.
Once the code has been compiled and uploaded to Arduino we need to calibrate the joystick in Windows 10 configuration or the control could have some strange behaviour.