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/config.h | |
parent | 4931510ad38aadb1769c9241bfad0c3d77ad687f (diff) | |
download | qmk_firmware-feac994f6fa971b3cc2ba8b3792fe179aa8955c5.tar.gz qmk_firmware-feac994f6fa971b3cc2ba8b3792fe179aa8955c5.zip |
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/config.h')
-rw-r--r-- | keyboards/v60_type_r/config.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h index c20bfe3a62..1f3ebcd516 100644 --- a/keyboards/v60_type_r/config.h +++ b/keyboards/v60_type_r/config.h @@ -48,10 +48,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ #define DIODE_DIRECTION COL2ROW - -// #define BACKLIGHT_PIN B7 -// #define BACKLIGHT_BREATHING -// #define BACKLIGHT_LEVELS 3 + +#define BACKLIGHT_PIN F7 +//#define BACKLIGHT_BREATHING +#define BACKLIGHT_LEVELS 3 +#define BACKLIGHT_ON_STATE 0 + +#define RGBLIGHT_CUSTOM_DRIVER +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 1 +#define RGB_RED_PIN PF6 +#define RGB_GREEN_PIN PF5 +#define RGB_BLUE_PIN PF4 +#define RGB_DI_PIN 0 +#define RGB_STEP 16 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |