HELP with EOG based Morse Decoder

The way Morse works is that the gaps between the dots and dashes determin how to split up the data stream.
A period of one dot looking straight ahead means that the letter has not finished.
A period of three dots, which is the same as a dash means the letter has finished.
A period of five dots means the word is finished and you should print a space.

As you have left and right looks to generate your dots and dashes maybe a Morse representation is not the best way of encoding the intention.