def input_left(pressed): pm.feed() if pressed: rgb.setbrightness(rgb.getbrightness() - 2)
def input_right(pressed): global current_index pm.feed() if pressed: rgb.setbrightness(rgb.getbrightness() + 2)
def input_right(pressed): pm.feed() if pressed: rgb.setbrightness(rgb.getbrightness() + 2)