From 061e53fa0794493a7089a18007f79a6f868734d9 Mon Sep 17 00:00:00 2001 From: Aircoookie Date: Fri, 25 Oct 2019 00:39:04 +0200 Subject: [PATCH] Updated HTTP request API (markdown) --- HTTP-request-API.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/HTTP-request-API.md b/HTTP-request-API.md index 8045f7c..4516f41 100644 --- a/HTTP-request-API.md +++ b/HTTP-request-API.md @@ -127,10 +127,12 @@ Parameter | Value Range | Description ## In-/decrementing values -You can use the `~` character to easily set values relative to their current value. -This is currently supported for the following parameters: +You can use the `~` character to easily set values relative to their current value. +This is currently supported for the following parameters: `A, R, G, B, W, R2, G2, B2, W2, FX, SX, IX, FP, PL` -For example, use `PL=~` to go to the next preset. Using just `~` without a number will increase the value by 1, `~-` will decrease it by 1. The value will then wrap around, so using `A=~-` when A is - will set A to 255. + +For example, use `PL=~` to go to the next preset. Using just `~` without a number will increase the value by 1, `~-` will decrease it by 1. The value will then wrap around, so using `A=~-` when A is - will set A to 255. + You can also specify by how much to change the value. For example, using `A=~10` will increase the brightness by 10. In case of using a number behind `~`, the value will clip (so it will not wrap around, if the maximum brightness is set, `A=~10` will not have any effect)