https://github.com/jirislaby/L2capUsing Bluetooth, a phone can move with mouse pointer and press mouse buttons on your machine. The only thing needed is to run l2cap from the repository on the machine and the Java app on the phone. Of course l2cap is Linux-specific but it should not be that hard to extend to other systems.