Roku TV remote button presses register as duplicate events

I also ran into problems with Roku remotes and the necx protocol:- Help with necx protocol

My final solution was to use a flirc usb ir dongle, works perfectly.