Download the setup and run it. Follow the installation instructions. G940 LED Control will be started afterwards and, by default, added to your start menu.
It should detect your G940 and Flight Simulator if it is running. Assign a function to each button by clicking the corresponding button on the Button assignment tab.