feat(readme): colorful json

This commit is contained in:
s3lph 2023-09-10 07:13:28 +02:00
parent 4e56fcf939
commit 64469d6d65
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -18,7 +18,9 @@ The touch events detected by the flow3r are published to the topic `flow3r-<maca
Each event is a JSON string that looks like this: Each event is a JSON string that looks like this:
```json
{"petal":"2","event":"touch_tip","dx":8083,"dy":6960,"duration":150} {"petal":"2","event":"touch_tip","dx":8083,"dy":6960,"duration":150}
```
The keys and their values are defined as follows: The keys and their values are defined as follows: