summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlessandro Bortolin <bortolin.alessandro@outlook.it>2022-01-22 11:57:51 +0100
committerPete Johanson <peter@peterjohanson.com>2022-02-05 23:40:18 -0500
commit13a45153004a63dccc421463ddac9ac9075e32cd (patch)
treea4885abb38b2c7ced1a7fcde268fecb9397129e0 /docs
parent2c0fe3934d461fe8b565f90f3c5d092ba231caf1 (diff)
feat(backlight): add command to cycle brightness
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/behaviors/backlight.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/docs/behaviors/backlight.md b/docs/docs/behaviors/backlight.md
index c1a92c9..e8d3340 100644
--- a/docs/docs/behaviors/backlight.md
+++ b/docs/docs/behaviors/backlight.md
@@ -20,18 +20,21 @@ This will allow you to reference the actions defined in this header such as `BL_
Here is a table describing the action for each define:
-| Define | Action |
-| -------- | ---------------------------------------- |
-| `BL_TOG` | Toggles the backlight on and off |
-| `BL_ON` | Turn on backlight on and off |
-| `BL_OFF` | Toggles the backlight feature on and off |
-| `BL_INC` | Increase backlight brightness |
-| `BL_DEC` | Decrease backlight brightness |
+| Define | Action |
+| ---------- | --------------------------- |
+| `BL_ON` | Turn on backlight |
+| `BL_OFF` | Turn off backlight |
+| `BL_TOG` | Toggle backlight on and off |
+| `BL_INC` | Increase brightness |
+| `BL_DEC` | Decrease brightness |
+| `BL_CYCLE` | Cycle brightness |
+| `BL_SET` | Set a specific brightness |
## Behavior Binding
- Reference: `&bl`
- Parameter #1: The backlight action define, e.g. `BL_TOG` or `BL_INC`
+- Parameter #2: Only applies to `BL_SET`and is the brightness value
### Examples
@@ -41,8 +44,8 @@ Here is a table describing the action for each define:
&bl BL_TOG
```
-1. Increase backlight brightness
+1. Sets a specific brightness
```
- &bl BL_INC
+ &bl BL_SET 50
```