Update Readme

This commit is contained in:
glax 2024-01-18 18:15:11 +01:00
parent 0f62e9e9c9
commit ba8b76bfba

View File

@ -43,26 +43,34 @@ Example `config.json`. Place next to executable. Will also be generated on first
}
```
### LogLevel
[Levels](https://learn.microsoft.com/de-de/dotnet/api/microsoft.extensions.logging.loglevel?view=dotnet-plat-ext-8.0)
### ApiKey
For OpenShock get token [here](https://shocklink.net/#/dashboard/tokens)
For OpenShock (HTTP) get token [here](https://shocklink.net/#/dashboard/tokens)
### ApiType
CShocker[![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/CS2GSI) [here](https://github.com/C9Glax/CShocker/blob/master/CShocker/Shockers/Abstract/ShockerApi.cs)
### ShockerIds
List of Shocker-Ids, comma seperated. Get Id [here](https://shocklink.net/#/dashboard/shockers/own). Press the three dots -> Edit
List of Shocker-Ids, comma seperated. Get ID of shocker [here](https://shocklink.net/#/dashboard/shockers/own). Press the three dots -> Edit
Example `[ "ID-1", "ID-2" ]`
### Intensity Range
`0-100`%
### Duration Range
in ms
### TriggerEvent IDs
From CS2GSI[![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/CS2GSI) [here](https://github.com/C9Glax/CS2GSI/blob/master/CS2GSI/CS2Event.cs)
### Values for `Actions`
- Beep
- Shock
- Vibrate
- Nothing
From CShocker[![Github](https://img.shields.io/badge/Github-8A2BE2)](https://github.com/C9Glax/CS2GSI) [here](https://github.com/C9Glax/CShocker/blob/master/CShocker/Shockers/ControlAction.cs)
### ValueFromInput
Use CS2GSI EventArgs value to determine Intensity (within configured Range)
# Using
### CS2GSI