Exemplo n.º 1
0
	def __init__(self, typ):
		self.pin_mapping = zubehoer.etw(typ)
		print self.pin_mapping
		self.inv_mapping = zubehoer.inverseMapping(self.pin_mapping)
Exemplo n.º 2
0
	def __init__(self, typ):
		self.pos = 0
		self.ringstellung = 0
		self.notches = zubehoer.rotorKnocks(typ)
		self.right_to_left_pin_mapping = zubehoer.rotor(typ)
		self.left_to_right_pin_mapping = zubehoer.inverseMapping(self.right_to_left_pin_mapping)