Who invented the cipher machine of which Typex was an adaptation ? 
Typex:  It was an adaptation of the commercial German Enigma with a number of enhancements that greatly increased its security. Enigma machine:  Enigma was invented by the German engineer Arthur Scherbius at the end of World War I.
Arthur Scherbius