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) |
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 0000000000..6dc7967a62 --- /dev/null +++ b/keyboard/lightsaber/backlight.h @@ -0,0 +1,9 @@ + +enum backlight_level { + BACKLIGHT_ALPHA = 0b0000001, + BACKLIGHT_NUMERIC = 0b0000010, + BACKLIGHT_MODNUM = 0b0000100, + BACKLIGHT_BACKSIDE = 0b0001000, + BACKLIGHT_TOPRIGHT = 0b0010000, + BACKLIGHT_FROW = 0b0100000, +}; |