Samsung S4 ... it took me a long while to figure out that I could program it to control most things with a IR signal
A fantastic phone because it was one of the last models to have a replaceable battery ... a SDXC memory card slot ... temperature gauge / humidity / barometer sensor .... a heart monitor tester ... and a headphone jack!
By the time I knew how to use it, I had already upgraded to the latest Samsung phones
There used to be either a Japanese app or a homebrew app for the ds i think that used the ir in it. Also the wiimote was going to have that functionality aswell.