Using Apple's IR remote to simulate a left/right mouse click or navigate presentations
I know that there are a few ways to add support for various apps, but you might want to consider paying for Mira.  

I've used it for a few 10.6 and 10.7 laptops and it works great.

There's also Remote Buddy, although I've not tried it personally.