Skip to content

Appendix D: QMK Firmware Programming

Working with QMK

Ploopy devices are fairly easy to program and reprogram, thanks to the excellent work by all of the developers and maintainers of the QMK firmware suite.

Pavonis? What's that?

pavonis is our internal codename for the Ploopy Trackpad. We don't always know what we're going to call the devices as we're designing them, so we assign codenames to them. This naming convention is also present in some public places, such as the QMK repository. If you see pavonis while you're working with QMK, just know that the Trackpad and pavonis are the same thing.

Before you begin

If you have never used QMK before, go through all of the steps in the QMK guide to set up your environment.

QMK was built for keyboards, so you'll see lots of references to code that looks like the following:

-kb <keyboard>

Whenever you see that, use the following syntax:

-kb ploopyco/pavonis

and you'll be fine.

Building the Ploopy device firmware

With your terminal window open and pointed at your QMK build environment, compile the firmware with the following command:

qmk compile -kb ploopyco/pavonis -km default

Alternatively, you can invoke the Makefile directly with the following:

make ploopyco/pavonis:default

For more details on building QMK firmware in general, see the QMK firmware guide.

Putting the Ploopy device into bootloader mode

Putting the Ploopy device into bootloader mode is very simple and straightforward.

  1. Unplug the device from your computer.
  2. Flip it over onto it's back. Unscrew the bootloader cap.
  3. You should see two gold-covered holes exposed on the PCB once the cap is removed.
  4. Get a paper clip (non-insulated, i.e. no plastic shit covering it) or a pair of tweezers, or some wire. Whatever you've got on hand that's metal.
  5. Stick the paper clip or tweezers into the holes. You're trying to form an electrical connection between the two holes.
  6. While you've got the two vias connected with your metal bridge, plug the Ploopy device into your computer.
  7. The computer should recognise that a mass storage device was just plugged in. Once this is done, you should be able to drag and drop files onto the Ploopy device, as if the board was a USB drive. Feel free to remove the tweezers or paperclip at this point.

And that's it. While plugged in this way, the Ploopy device will accept new firmware.

If you want to upload a new firmware file (a ".uf2" file, like "ploopy_trackpad_v42069" or something), just drag it into the folder, and it'll automatically install on the Ploopy device and restart itself.

Whenever you want to put new firmware onto the Ploopy device, go through these steps again.

TIP: If your firmware is in some kind of strange state and uploading new firmware isn't fixing it, try uploading a flash nuke to the Trackpad before flashing the new firmware. It wipes the memory of the Trackpad completely clean, which can help clear a few types of errors.

And that's it!

Happy customizing!