Not much original work here. I just combined several versions I found here on Remote Central. Fixes a problem with the arrow buttons going two steps. This should have the complete codes. The only thing missing are discrete power codes. I haven't had any luck there.