summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/d48/keymaps/anderson/lightmode.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/d48/keymaps/anderson/lightmode.h')
-rw-r--r--keyboards/handwired/d48/keymaps/anderson/lightmode.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/d48/keymaps/anderson/lightmode.h b/keyboards/handwired/d48/keymaps/anderson/lightmode.h
new file mode 100644
index 0000000000..0c81e476bb
--- /dev/null
+++ b/keyboards/handwired/d48/keymaps/anderson/lightmode.h
@@ -0,0 +1,12 @@
+#include "smoothled.h"
+#include "dmc12.h"
+#include "quantum.h"
+
+/* Light modes */
+enum light_mode_enum { SMOOTHLED, DMC12, LIGHT_MODE_SIZE };
+typedef enum light_mode_enum light_mode_t;
+
+void set_light_mode(light_mode_t value, uint32_t color);
+void process_light_mode(void);
+void update_light_mode(uint32_t color);
+void next_light_mode(uint32_t color);