diff options
author | Wraul <[email protected]> | 2013-05-30 20:24:39 +0200 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-06-22 17:23:36 +0900 |
commit | 1eb8523e9506c752fb726208d8853a82f06e6659 (patch) | |
tree | 999363ab141da73f3e59f2edf7d2778b298aef5f /doc/keymap.md | |
parent | 9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff) | |
download | qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.tar.gz qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.zip |
Add support for backlight
Diffstat (limited to 'doc/keymap.md')
-rw-r--r-- | doc/keymap.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/keymap.md b/doc/keymap.md index 474a706e0c..7d979eb7c6 100644 --- a/doc/keymap.md +++ b/doc/keymap.md @@ -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 |