Update phys-btn.md

This commit is contained in:
joBr99
2023-02-03 20:11:40 +01:00
committed by GitHub
parent 6b120f292e
commit 5bced1cb81

View File

@@ -7,7 +7,7 @@ You can configure the buttons to mimic an UI element on the screen by configurin
The following rule will change the behaviour of the two buttons to do page navigation.
```
Rule2 on Button1#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,buttonPress2,hwbtn,bPrev"} endon on Button2#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,buttonPress2,hwbtn,bNext"} endon
Rule2 on Button1#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,buttonPress2,navPrev,button"} endon on Button2#state do Publish tele/%topic%/RESULT {"CustomRecv":"event,buttonPress2,navNext,button"} endon
Rule2 1
```