diff options
| author | Ralf Schmitt <ralf@bunkertor.net> | 2014-04-08 21:02:46 +0200 |
|---|---|---|
| committer | Ralf Schmitt <ralf@bunkertor.net> | 2014-04-08 21:02:46 +0200 |
| commit | 589d99b448e6085513799fbb183f6389d4df408d (patch) | |
| tree | 3d6f83a71ffe03a2855046de58ba7ae9095f0733 /keyboard/lightsaber/backlight.h | |
| parent | 5c63751790bca2d7e0c6f368bd446db8fe671848 (diff) | |
| download | qmk_firmware-589d99b448e6085513799fbb183f6389d4df408d.tar.gz qmk_firmware-589d99b448e6085513799fbb183f6389d4df408d.zip | |
New macro: ACTION_BACKLIGHT_LEVEL(level)
To have full control of the backlight level.
Diffstat (limited to 'keyboard/lightsaber/backlight.h')
| -rw-r--r-- | keyboard/lightsaber/backlight.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboard/lightsaber/backlight.h b/keyboard/lightsaber/backlight.h new file mode 100644 index 000000000..6dc7967a6 --- /dev/null +++ b/keyboard/lightsaber/backlight.h | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | |||
| 2 | enum backlight_level { | ||
| 3 | BACKLIGHT_ALPHA = 0b0000001, | ||
| 4 | BACKLIGHT_NUMERIC = 0b0000010, | ||
| 5 | BACKLIGHT_MODNUM = 0b0000100, | ||
| 6 | BACKLIGHT_BACKSIDE = 0b0001000, | ||
| 7 | BACKLIGHT_TOPRIGHT = 0b0010000, | ||
| 8 | BACKLIGHT_FROW = 0b0100000, | ||
| 9 | }; | ||
