Less awkward ir signal generation