From 589d99b448e6085513799fbb183f6389d4df408d Mon Sep 17 00:00:00 2001 From: Ralf Schmitt Date: Tue, 8 Apr 2014 21:02:46 +0200 Subject: New macro: ACTION_BACKLIGHT_LEVEL(level) To have full control of the backlight level. --- keyboard/lightsaber/backlight.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 keyboard/lightsaber/backlight.h (limited to 'keyboard/lightsaber/backlight.h') 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 @@ + +enum backlight_level { + BACKLIGHT_ALPHA = 0b0000001, + BACKLIGHT_NUMERIC = 0b0000010, + BACKLIGHT_MODNUM = 0b0000100, + BACKLIGHT_BACKSIDE = 0b0001000, + BACKLIGHT_TOPRIGHT = 0b0010000, + BACKLIGHT_FROW = 0b0100000, +}; -- cgit v1.2.3