summaryrefslogtreecommitdiffstats
path: root/keyboards/v60_type_r/config.h
diff options
context:
space:
mode:
authorbenlyall <ben@lyall.me>2018-01-01 23:49:26 +0100
committerJack Humbert <jack.humb@gmail.com>2018-01-01 23:49:26 +0100
commitfeac994f6fa971b3cc2ba8b3792fe179aa8955c5 (patch)
treedb856038dbe3ea3535233bdb01cc9617b85e3079 /keyboards/v60_type_r/config.h
parent4931510ad38aadb1769c9241bfad0c3d77ad687f (diff)
downloadqmk_firmware-feac994f6fa971b3cc2ba8b3792fe179aa8955c5.tar.gz
qmk_firmware-feac994f6fa971b3cc2ba8b3792fe179aa8955c5.tar.xz
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.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h
index c20bfe3a6..1f3ebcd51 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 */