streamdeck:patch
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
streamdeck:patch [2024/10/12 09:33] – gelöscht micha | streamdeck:patch [2024/10/12 09:33] (aktuell) – angelegt micha | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== .local/ | ||
+ | line 522 | ||
+ | |||
+ | < | ||
+ | |||
+ | # Note that the button click event captures the ui variable, the current button | ||
+ | # and all the other buttons | ||
+ | for button in buttons: | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # micha lambda hack 2024-04-22 | ||
+ | def x(ui, | ||
+ | def y(): | ||
+ | return button_clicked(ui, | ||
+ | return y | ||
+ | button.clicked.connect( x(ui, button, buttons) ) | ||
+ | | ||
+ | </ |
streamdeck/patch.1728725601.txt.gz · Zuletzt geändert: 2024/10/12 09:33 von micha