summaryrefslogtreecommitdiffstats
path: root/keyboards/maartenwut/plain60/keymaps/rgb/config.h
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-12-16 11:26:02 -0800
committerDrashna Jaelre <drashna@live.com>2019-12-16 11:26:02 -0800
commit0082ecf1f3328eb45a865bf50d3f44ca632d9f7b (patch)
tree6489ac9cb9c4fd79235a95a5075f9d2faf1b914c /keyboards/maartenwut/plain60/keymaps/rgb/config.h
parent7cddcce23798937bf7373c7cb289a0a510fb1232 (diff)
Move kwerdenker's personal keymap from RGB (#7645)
* Move kwerdenker's personal keymap from RGB Talked to Maartenwut about making RGB an actual template instead of kwerdenker's keymap. Free'd up B7 so it can be used for audio in agreement with MW. He's considering adding a speaker footprint to next rev of plain60, and only B7 can be used with Audio. RGB uses bitbang driver so it doesn't really make any difference if it's pin B0. - RGB should be a template for other people to modify, not a personal keymap - change default pin to B0 to free up B7 for audio use - rename RGB to kwerdenker * Add RGB keycodes to FN layer * don't use uppercase in keymap names - doesn't work properly on MacOS or Windows * Add an audio specific keymap * Enum instead of define * Suggested change to keymap - maintain compatibility with old keymap
Diffstat (limited to 'keyboards/maartenwut/plain60/keymaps/rgb/config.h')
-rw-r--r--keyboards/maartenwut/plain60/keymaps/rgb/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/maartenwut/plain60/keymaps/rgb/config.h b/keyboards/maartenwut/plain60/keymaps/rgb/config.h
new file mode 100644
index 0000000000..8426938120
--- /dev/null
+++ b/keyboards/maartenwut/plain60/keymaps/rgb/config.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#define RGB_DI_PIN B0
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 20 // limit to 20 otherwise brownouts
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8