or get an app like
remote buddy and an
apple remote, and you can pretty much fully control your computer.
depending on how old it is, your phone probably has an IrDA port, which is a very very slow precursor to USB. I've seen it on some
printers and laptops, but that was at least 10 years ago.
At one point i think i was able to sync my phone to my laptop, and printed something from my phone, but that's been quite a while ago, so dont really remember the specifics.
you can't use IrDA as an IR remote.