aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWraul <wraul@dbox.se>2013-05-30 20:24:39 +0200
committertmk <nobody@nowhere>2013-06-22 17:23:36 +0900
commit1eb8523e9506c752fb726208d8853a82f06e6659 (patch)
tree999363ab141da73f3e59f2edf7d2778b298aef5f /doc
parent9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff)
downloadqmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.tar.gz
qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.zip
Add support for backlight
Diffstat (limited to 'doc')
-rw-r--r--doc/build.md1
-rw-r--r--doc/keymap.md21
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/build.md b/doc/build.md
index 88504f096..ae8565010 100644
--- a/doc/build.md
+++ b/doc/build.md
@@ -132,6 +132,7 @@ Optional. Note that ***comment out*** to disable them.
132 COMMAND_ENABLE = yes # Commands for debug and configuration 132 COMMAND_ENABLE = yes # Commands for debug and configuration
133 SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 133 SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
134 #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA 134 #NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
135 #BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
135 136
136### 3. Programmer 137### 3. Programmer
137Optional. Set proper command for your controller, bootloader and programmer. This command can be used with `make program`. Not needed if you use `FLIP`, `dfu-programmer` or `Teesy Loader`. 138Optional. Set proper command for your controller, bootloader and programmer. This command can be used with `make program`. Not needed if you use `FLIP`, `dfu-programmer` or `Teesy Loader`.
diff --git a/doc/keymap.md b/doc/keymap.md
index 474a706e0..7d979eb7c 100644
--- a/doc/keymap.md
+++ b/doc/keymap.md
@@ -430,6 +430,27 @@ See `keyboard/hhkb/keymap.c` for sample.
430 430
431 431
432 432
433### 2.5 Backlight Action
434These actions control the backlight.
435
436#### 2.5.1 Change backlight level
437Increase backlight level.
438
439 ACTION_BACKLIGHT_INCREASE()
440
441Decrease backlight level.
442
443 ACTION_BACKLIGHT_DECREASE()
444
445Step through backlight levels.
446
447 ACTION_BACKLIGHT_STEP()
448
449#### 2.5.2 Turn on / off backlight
450Turn the backlight on and off without changing level.
451
452 ACTION_BACKLIGHT_TOGGLE()
453
433 454
434 455
435## 3. Layer switching Example 456## 3. Layer switching Example