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 ### 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 ### 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" ]` Example `[ "ID-1", "ID-2" ]`
### Intensity Range ### Intensity Range
`0-100`% `0-100`%
### Duration Range ### Duration Range
in ms 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` ### Values for `Actions`
- Beep 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)
- Shock
- Vibrate ### ValueFromInput
- Nothing Use CS2GSI EventArgs value to determine Intensity (within configured Range)
# Using # Using
### CS2GSI ### CS2GSI