Пример #1
0
def input_left(pressed):
  pm.feed()
  if pressed:
      rgb.setbrightness(rgb.getbrightness() - 2)
Пример #2
0
def input_right(pressed):
    global current_index

    pm.feed()
    if pressed:
        rgb.setbrightness(rgb.getbrightness() + 2)
Пример #3
0
def input_right(pressed):
  pm.feed()
  if pressed:
      rgb.setbrightness(rgb.getbrightness() + 2)