📄️ Intro
In this tutorial, you will be creating a simple program that moves a small box around the screen, giving you the building blocks to create your own plugins down the line.
📄️ Setting up your workspace
Now that you have a simple overview of the goal of this tutorial, let's create our own plugin!
📄️ Signature and structures
Now that we have boxmover.c in our boxmover folder, we can finally start programming.
📄️ GUI
With our model now able to encode the information we need, and the main signature set up, let's start working with the gui service.
📄️ Input Queue
In order to take in input, we're going to be utilizing osMessageQueue, which, as the name implies, allows us to create queues of messages.
📄️ Callbacks and Concurrency
Currently, our program only does this:
📄️ Main Loop
Handling Input
📄️ Enabling and Compiling
Luckily this process has been streamlined, and we only need add a single line to reference our plugin ID in
📄️ Congratulations!
You have just learned the basics of making a plugin on the Flipper Zero from start to finish.