From 5bced1cb81d72717b63901552e6ca8adc4092ae0 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Fri, 3 Feb 2023 20:11:40 +0100 Subject: [PATCH] Update phys-btn.md --- docs/phys-btn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/phys-btn.md b/docs/phys-btn.md index 3885321f..d56cdcb0 100644 --- a/docs/phys-btn.md +++ b/docs/phys-btn.md @@ -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 ```