Nothing special to brag about. However, here is a project I made. The device moves to the right by 5 pixels every 1 minute, then back by 5 pixels. Written in Arduino for a Raspberry Pi Zero (RP2040) board. You may ask, why make this when you can buy something like this? And this is for 2 reasons:
1. cheaper,
2. in bought ones the mouse pointer goes crazy on the screen like abnormal, which is very annoying.
This way, the system will not go into standby mode after detecting prolonged inactivity.
I additionally use an adapter.
A button has to be soldered in for activation and deactivation. Unfortunately the existing button cannot be used.
The button needs to be connected to pin 1 a GND. To make life easier, the processor puts out a low state on pins 0, 2, 3, 4, 5, 6. This allows you to solder a small button between pins 1 and 3. Simple and no combination. The installed RGB LED will show the current operating status of the device. All in all, there is not much more to write about here.
Uploading the code is trivial.
In Windows 10, plug the board into a USB port with the BOOT button pressed. A folder will open and into it copy the file RP2040_simulation_motion_mouse.ino.uf2
That's the whole philosophy.
Cool? Ranking DIY