Mousedroid
Use your android phone as a mouse & keyboard
...Its multitouch gestures support clicking, scrolling, dragging, and zooming. Bluetooth mode works without requiring both devices to share a network. Wi-Fi mode communicates with a companion server running on the computer. USB mode provides a low-latency alternative for direct input control. Mousedroid supports Android 9 and newer, with companion server compatibility for Windows 10, Windows 11, and Linux.