Skip to main content

Edit the boards.txt File

Now that you have your mouse's PID and VID, you can edit the boards.txt file.

caution

Editing system files can be risky. Make sure to create a backup of the boards.txt file before making any changes.

  1. Open the boards.txt file:

    • We recommend using Visual Studio Code for easy editing.
    • Alternatively, you can use Notepad.
  2. Find the Leonardo section in the file.

  3. Edit the following lines:

    • Change the name to your mouse's name
    • Update the VID and PID with the values you found in the previous step

Before: Default Leonardo Configuration

After: Spoofed Leonardo Configuration

  1. Save the file.
tip

If you're having trouble saving the file due to permission issues, try running your text editor as administrator.

After editing the file, you need to reflash the driver to apply the changes.