From 0082ecf1f3328eb45a865bf50d3f44ca632d9f7b Mon Sep 17 00:00:00 2001 From: Yan-Fa Li Date: Mon, 16 Dec 2019 11:26:02 -0800 Subject: 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 --- .../maartenwut/plain60/keymaps/kwerdenker/config.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h (limited to 'keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h') diff --git a/keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h b/keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h new file mode 100644 index 000000000..5fadcf821 --- /dev/null +++ b/keyboards/maartenwut/plain60/keymaps/kwerdenker/config.h @@ -0,0 +1,26 @@ +/* +Copyright 2019 Sebastian Spindler + +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 . +*/ + +#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 -- cgit v1.2.3