diff options
author | Yan-Fa Li <yanfali@gmail.com> | 2019-12-16 11:26:02 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-12-16 11:26:02 -0800 |
commit | 0082ecf1f3328eb45a865bf50d3f44ca632d9f7b (patch) | |
tree | 6489ac9cb9c4fd79235a95a5075f9d2faf1b914c /keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h | |
parent | 7cddcce23798937bf7373c7cb289a0a510fb1232 (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/kwerdenker/config.h')
-rw-r--r-- | keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h b/keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h new file mode 100644 index 0000000000..5fadcf821a --- /dev/null +++ b/keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h @@ -0,0 +1,26 @@ +/* +Copyright 2019 Sebastian Spindler <sebastian.spindler@gmail.com> + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +/* RGB Underglow */ +#define RGB_DI_PIN B7 +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 30 // Number of LEDs +#define RGBLIGHT_HUE_STEP 8 +#define RGBLIGHT_SAT_STEP 8 +#define RGBLIGHT_VAL_STEP 8 |