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.
-
Open the
boards.txt
file:- We recommend using Visual Studio Code for easy editing.
- Alternatively, you can use Notepad.
-
Find the Leonardo section in the file.
-
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:
After:
- 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.