How Do Japanese Type In Their Language?

I've often wondered how they could do it with what seems to be an unlimited number of symbols in their language. This guy makes some sense of it.

How did Japanese people used to type in Japanese. This was the old school way, apparently!