コード例 #1
0
ファイル: mapping.py プロジェクト: Nicolas01/Pystromo
	def clear (self):
		_BaseConfig.clear(self)
		
		# This maps device names to the parameters used to match the device.
		self.devices = {}
		# This is firstly indexed by device name (or None),
		# secondly by the tuple of modes
		# and thirdly by the input, or input chord.
		self.mappings = {None:{():{}}}
コード例 #2
0
ファイル: mapping.py プロジェクト: spierepf/Pystromo
    def clear(self):
        _BaseConfig.clear(self)

        # This maps device names to the parameters used to match the device.
        self.devices = {}
        # This is firstly indexed by device name (or None),
        # secondly by the tuple of modes
        # and thirdly by the input, or input chord.
        self.mappings = {None: {(): {}}}
コード例 #3
0
ファイル: mapping.py プロジェクト: Acidburn0zzz/slackbuilds
	def clear (self):
		_BaseConfig.clear(self)
		
		# This is firstly indexed by device name (or None),
		# and secondly by the input, or input chord.
		self.mappings = {None:{}}
コード例 #4
0
ファイル: mapping.py プロジェクト: xdel/slackbuilds
    def clear(self):
        _BaseConfig.clear(self)

        # This is firstly indexed by device name (or None),
        # and secondly by the input, or input chord.
        self.mappings = {None: {}}