aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-15 03:38:44 +0000
committerQMK Bot <hello@qmk.fm>2021-09-15 03:38:44 +0000
commit02dc38dbf7067bc59ad3728a389ab7eefb6df41d (patch)
tree0c2160f087213db54bdc44da4ad4c20ba0691976
parent26e796fb9c75d800b866dcbb46885b0eacd10842 (diff)
parent0dfc1db74af5a71900b41777640fe9553e0a2999 (diff)
downloadqmk_firmware-02dc38dbf7067bc59ad3728a389ab7eefb6df41d.tar.gz
qmk_firmware-02dc38dbf7067bc59ad3728a389ab7eefb6df41d.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/sofle/keymaps/via/config.h44
1 files changed, 26 insertions, 18 deletions
diff --git a/keyboards/sofle/keymaps/via/config.h b/keyboards/sofle/keymaps/via/config.h
index 32139d8b1..c2e48ea7d 100644
--- a/keyboards/sofle/keymaps/via/config.h
+++ b/keyboards/sofle/keymaps/via/config.h
@@ -1,19 +1,19 @@
1 /* Copyright 2020 Josef Adamcik 1 /* Copyright 2020 Josef Adamcik
2 * Modification for VIA support and RGB underglow by Jens Bonk-Wiltfang 2 * Modification for VIA support and RGB underglow by Jens Bonk-Wiltfang
3 * 3 *
4 * This program is free software: you can redistribute it and/or modify 4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or 6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version. 7 * (at your option) any later version.
8 * 8 *
9 * This program is distributed in the hope that it will be useful, 9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18#pragma once 18#pragma once
19 19
@@ -22,8 +22,16 @@ see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness
22for more options. 22for more options.
23*/ 23*/
24 24
25//Add RGB underglow 25//Add RGB underglow and top facing lighting
26#define RGB_DI_PIN D3 26#define RGB_DI_PIN D3
27#define RGBLED_NUM 14 27#ifdef RGB_MATRIX_ENABLE
28#define RGBLED_SPLIT {7,7} 28#define RGBLED_NUM 36 // Number of LEDs
29#define RGBLIGHT_ANIMATIONS \ No newline at end of file 29#define DRIVER_LED_TOTAL RGBLED_NUM
30#endif
31#define RGBLED_NUM 70
32#define RGBLED_SPLIT {36,36}
33#define RGBLIGHT_ANIMATIONS
34#define RGBLIGHT_LIMIT_VAL 120
35#define RGBLIGHT_HUE_STEP 10
36#define RGBLIGHT_SAT_STEP 17
37#define RGBLIGHT_VAL_STEP 17