Перейти к содержанию

Навигация

Rule Examples/en: различия между версиями

Новая страница: «if (i < 100 && dev["wb-mcm8_20/Input 1"]) { i++ dev["wb-mdm3_58/Channel 1"] = i } else { timers["input1_long_press"].stop(); } } });»
(Новая страница: «if (i < 100 && dev["wb-mcm8_20/Input 1"]) { i++ dev["wb-mdm3_58/Channel 1"] = i } else { timers["input1_long_press"].stop(); } } });»)
Метки: правка с мобильного устройства правка из мобильной версии
Строка 406: Строка 406:
</syntaxhighlight>
</syntaxhighlight>


<div lang="ru" dir="ltr" class="mw-content-ltr">
=== Generic module for wb-rules ===
=== Универсальный модуль для wb-rules ===
We wrote a module for wb-rules [https://github.com/wirenboard/wb-community/tree/main/wb-press-actions wb-press-actions] that makes it easy to handle clicks in your scripts.
Мы написали модуль для wb-rules [https://github.com/wirenboard/wb-community/tree/main/wb-press-actions wb-press-actions], который облегчает обработку нажатий в ваших скриптах.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<div lang="ru" dir="ltr" class="mw-content-ltr">
translator, wb_editors
4344

правки