diff options
author | benlyall <ben@lyall.me> | 2018-01-02 09:49:26 +1100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-01-01 17:49:26 -0500 |
commit | feac994f6fa971b3cc2ba8b3792fe179aa8955c5 (patch) | |
tree | db856038dbe3ea3535233bdb01cc9617b85e3079 /keyboards/v60_type_r/v60_type_r.h | |
parent | 4931510ad38aadb1769c9241bfad0c3d77ad687f (diff) |
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
Diffstat (limited to 'keyboards/v60_type_r/v60_type_r.h')
-rw-r--r-- | keyboards/v60_type_r/v60_type_r.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 |