Phone as Controller

You mean use a socket to connect smartphone to PC over the internet (or local network)?

Because I think this introduces significant input lag.

A good idea could be create one interface that allow the smartphone to communicate using Bluetooth or USB cable.

But I agree with CheapDevotion this is possible, isn’t so difficult