mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-16 08:27:01 +03:00
Update README.md
This commit is contained in:
@@ -322,10 +322,10 @@ See also the "IMPORTANT NOTE" on the "Buttons" section and remember that when 'l
|
|||||||
Buttons are described using a JSON string with the following syntax
|
Buttons are described using a JSON string with the following syntax
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
{"gpio":<num>,
|
{"gpio":<num>,
|
||||||
"type":"BUTTON_LOW | BUTTON_HIGH",
|
"type":"BUTTON_LOW | BUTTON_HIGH",
|
||||||
"pull":[true|false],
|
"pull":[true|false],
|
||||||
"long_press":<ms>,
|
"long_press":<ms>,
|
||||||
"debounce":<ms>,
|
"debounce":<ms>,
|
||||||
"shifter_gpio":<-1|num>,
|
"shifter_gpio":<-1|num>,
|
||||||
"normal": {"pressed":"<action>","released":"<action>"},
|
"normal": {"pressed":"<action>","released":"<action>"},
|
||||||
|
|||||||
Reference in New Issue
Block a user