I had an old IR wireless keyboard that I used to controll itunes, I plugged in the reciever from the keyboard into the mac and then taught my universal remote the basic key fucntions for iTunes (space bar, tab, arrow keys, etc.) It worked great. the palm's IR port can act as a universal remote already so you would be good to go.

It was called MacAirKey, here is one in eBay:


This was the ADB one, you would have to do your homework to see if it will work under OSX with an adaptor.
PB G4 15" 1.2ghz - Pismo G3 400 mhz - iBook G3 500 "Jukebox"
"SawSmurf" G4 500 - Quicksilver G4 Dual 1ghz modding...