def __init__(self, *a, **k):
     MonoButtonElement.__init__(self, *a, **k)
     self._color_map = [20, 21, 5, 36, 38, 6, 52, 55, 7]
     self._num_flash_states = 13
     self._num_colors = 9
     self._darkened = 4
     self._on_value = 127
     self._off_value = 4
     self._is_enabled = True
     self._is_notifying = False
     self._force_next_value = False
     self._pending_listeners = []
Exemplo n.º 2
0
	def __init__(self, *a, **k):
		MonoButtonElement.__init__(self, *a, **k)
		self._color_map = [20, 21, 5, 36, 38, 6, 52, 55, 7]
		self._num_flash_states = 13
		self._num_colors = 9
		self._darkened = 4
		self._on_value = 127
		self._off_value = 4
		self._is_enabled = True
		self._is_notifying = False
		self._force_next_value = False
		self._pending_listeners = []