aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/bfake/config.h
diff options
context:
space:
mode:
authorGravatar Chris Lee <clee@mg8.org>2017-12-02 03:26:49 -0700
committerGravatar Jack Humbert <jack.humb@gmail.com>2018-02-02 00:58:26 -0500
commit9584db055b73937dfba7b9878a8b61af6aa96710 (patch)
tree75a2dc324a0e7b3178dfce22783646af104f86a0 /keyboards/bfake/config.h
parent38ab86e8f2b6731557f28902509a011715ed5d29 (diff)
downloadqmk_firmware-9584db055b73937dfba7b9878a8b61af6aa96710.tar.gz
Add support for key backlighting to bfake
If BACKLIGHT_ENABLE is set to `yes` in `rules.mk`, then the user can use the `BL_*` keycodes to adjust the backlight. At the moment, only on/off is supported.
Diffstat (limited to 'keyboards/bfake/config.h')
-rw-r--r--keyboards/bfake/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/bfake/config.h b/keyboards/bfake/config.h
index c0e0face5..de8c4b5df 100644
--- a/keyboards/bfake/config.h
+++ b/keyboards/bfake/config.h
@@ -37,7 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define DEBOUNCING_DELAY 5
-
+#define NO_BACKLIGHT_CLOCK
+#define BACKLIGHT_LEVELS 1
#define RGBLIGHT_ANIMATIONS
#define NO_UART 1