]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - doc/keymap.md
Merge branch 'Wraul-kmac'
[qmk_firmware.git] / doc / keymap.md
index 474a706e0c2ad26e43a403116b36ec7a8c2227f4..7d979eb7c6bf3c606b3fecb25d26b40d72dd87b8 100644 (file)
@@ -430,6 +430,27 @@ See `keyboard/hhkb/keymap.c` for sample.
 
 
 
+### 2.5 Backlight Action
+These actions control the backlight.
+
+#### 2.5.1 Change backlight level
+Increase backlight level.
+
+    ACTION_BACKLIGHT_INCREASE()
+
+Decrease backlight level.
+
+    ACTION_BACKLIGHT_DECREASE()
+
+Step through backlight levels.
+
+    ACTION_BACKLIGHT_STEP()
+
+#### 2.5.2 Turn on / off backlight
+Turn the backlight on and off without changing level.
+
+    ACTION_BACKLIGHT_TOGGLE()
+
 
 
 ## 3. Layer switching Example