summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/practice60/underglow.h
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2018-11-12 19:31:22 -0500
committerDrashna Jaelre <drashna@live.com>2018-11-12 16:31:22 -0800
commite653cc198e3a535f23ae33d677115f192979ee55 (patch)
tree5cfd500f945829e3d8dcfaf687940e15f6a93ec4 /keyboards/handwired/practice60/underglow.h
parent599b21b9f4b450392380870675b136449839f6e5 (diff)
The "Practice60" Board, Blue Pill powered (#4407)
* Starting point for blue pill based practice60 * Changes * add * try raw bin no botloader * swap back to bootloader version * edit * Remove debug LED flash * Disable JTAG to open up B3 and B4 * Add led backlight support (no breathing yet) * Update matrix for correctness * RGB Underglow working in a very simple state * not as bright * Move to handwired * revert ChibiOS_Test changes * Changes based on PR comments * Address PR comments v2 * Move files
Diffstat (limited to 'keyboards/handwired/practice60/underglow.h')
-rw-r--r--keyboards/handwired/practice60/underglow.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/handwired/practice60/underglow.h b/keyboards/handwired/practice60/underglow.h
new file mode 100644
index 0000000000..ff11952791
--- /dev/null
+++ b/keyboards/handwired/practice60/underglow.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "hsv2rgb.h"
+
+void set_leds_color_hsv(hsv_color color);
+void set_leds_color_rgb(rgb_color color);
+void set_led_color_hsv(hsv_color color, int pos);
+void set_led_color_rgb(rgb_color color, int pos);
+
+void leds_init(void);