From feac994f6fa971b3cc2ba8b3792fe179aa8955c5 Mon Sep 17 00:00:00 2001 From: benlyall Date: Tue, 2 Jan 2018 09:49:26 +1100 Subject: Added support for V60 Type R Polestar backlight and RGB underglow (#1852) * Added V60 Type R Polestar Backlight and RGB Underglow support * made RGB Underglow stuff optional, to support the non Polestar V60 * updated readme and rules * fixed typo in readme --- keyboards/v60_type_r/v60_type_r.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'keyboards/v60_type_r/v60_type_r.h') diff --git a/keyboards/v60_type_r/v60_type_r.h b/keyboards/v60_type_r/v60_type_r.h index 77d871e538..180294d79e 100644 --- a/keyboards/v60_type_r/v60_type_r.h +++ b/keyboards/v60_type_r/v60_type_r.h @@ -18,6 +18,23 @@ #include "quantum.h" +#include "rgblight.h" + +#ifdef V60_POLESTAR + +void rgb_init(void); +void set_rgb_color(uint8_t pin, uint8_t value, uint8_t timer_value); + +enum my_keycodes { + RGB_RI = SAFE_RANGE, + RGB_RD, + RGB_GI, + RGB_GD, + RGB_BI, + RGB_BD +}; +#endif + // This a shortcut to help you visually see your layout. // The first section contains all of the arguments // The second converts the arguments into a two-dimensional array -- cgit v1.2.3