Conreality.Joystick is a library to make arduino+nrf24 based radio joystick
You would need PlatformIO.
All the details here: platformio.org
Open config_examples
folder and take configuration you like.
Copy it to src
folder and rename to joystick_config.h
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.