Instead of IR transmitter / receiver, wire directly?

can't use serial since the other device (video switch) has just an IR Receiver...

Andy