1Assemble the Hardware
To get started, gather all of the parts listed above.
Take your two joysticks and connect a male to female jumper wire to every terminal on them. Like so:
***Be careful to connect both Joysticks to 3.3V and not 5V! If you don’t your readings will be wrong.
2Build the Firmware
Navigate to the Firmware Builder and create a new Firmware file. We named ours Joystick.
Now you can upload your firmware to the Build Base.
3Build the Application
Navigate to the Applications page and click the “+ Create New Button”, name your application, and click create.
You will now be directed to the App Builder Canvas.
Using the search bar in the left hand tool-bar search for the Joystick code object and drag it onto the canvas.
At this point you should name and label all of your interface objects (The Switches and the Analog Sliders), as this will make them easier to identify on the dashboard.
We’ll show you how to do the first one. Select the object you wish to change the name of by clicking on it. The properties panel on the right will pop open. Here you can change the “Object Name” and the “Label”.
For this first object we will change both the Label and the Object Name to “X-Axis Left Joystick”. Remember to hit the “Save Properties” tab for each object that you rename, otherwise your changes will be lost.
Your application is now complete! Save it and return to the Applications page.
4Map Your Application
You should now be back on the Apps page.
Find your “Joystick” app and hit the play button.
Next click on the “Button” device and the client dropdown menu will appear on the right.
Select the Button driver from the dropdown menu and hit “Done”.
5Run the Application!
Lastly, hit “Save + Run”