Arduino as a Mouse

I think you could use arduino as a serial mouse. Not sure if a potentiometer would help. Probably two switched would do.

Here you can find information about serial mouse protocol.