The laptop or desktop needs to be connected wirelessly via Bluetooth or WiFi with your phone. Now, let’s have a look some of the better apps to use your smartphone as a wireless mouse.
Although the Basilisk V3 Pro doesn't explicitly feature a way to switch between devices, you can plug in the included 2.4-GHz USB receiver in one device and use the mouse via Bluetooth on another.