I'll be adding something like this to the ir_translate stuff someday soon, along with the sony-stalk interface support. This means you'll be able to do button translations that send to the IR input, stalk input, and/or serial input streams.

-ml