Skip to content

Commit c0ace3c

Browse files
committed
docs(pishock): update example config and README with information about multiple codes
1 parent 16d0d22 commit c0ace3c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ VRChat parameters:
8686
| `PS_ShockActive` | `bool` | Set to true while a shock is active, then automatically reset to false. |
8787

8888
You can configure the duration (default 4) through the configuration file. You must also set your credentials in there.
89+
The configuration allows you to configure one or more codes to be triggered for each shock.
8990

9091
The intensity and intensity cap are periodically saved after 10 seconds of being changed. When an avatar loads in, it
9192
will automatically be populated with the last values.

examples/osc-manager.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ receive_port = 9001
55
[pishock]
66
username = ""
77
api_key = ""
8-
code = ""
8+
codes = [""]
99
duration = 4
1010
intensity_cap = 1.0

0 commit comments

Comments
 (0)