diff options
Diffstat (limited to 'keyboards/alf/x2/config.h')
| -rw-r--r-- | keyboards/alf/x2/config.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h index 6c9a139c3..2e545f1a5 100644 --- a/keyboards/alf/x2/config.h +++ b/keyboards/alf/x2/config.h | |||
| @@ -1,5 +1,20 @@ | |||
| 1 | #ifndef CONFIG_H | 1 | /* Copyright 2018-2021 @fixed, MechMerlin, QMK |
| 2 | #define CONFIG_H | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 3 | 18 | ||
| 4 | #include "config_common.h" | 19 | #include "config_common.h" |
| 5 | 20 | ||
| @@ -22,6 +37,9 @@ | |||
| 22 | /* COL2ROW or ROW2COL */ | 37 | /* COL2ROW or ROW2COL */ |
| 23 | #define DIODE_DIRECTION COL2ROW | 38 | #define DIODE_DIRECTION COL2ROW |
| 24 | 39 | ||
| 40 | #define LED_CAPS_LOCK_PIN B2 | ||
| 41 | #define LED_PIN_ON_STATE 0 | ||
| 42 | |||
| 25 | /* number of backlight levels */ | 43 | /* number of backlight levels */ |
| 26 | #define BACKLIGHT_PIN B6 | 44 | #define BACKLIGHT_PIN B6 |
| 27 | #ifdef BACKLIGHT_PIN | 45 | #ifdef BACKLIGHT_PIN |
| @@ -45,5 +63,3 @@ | |||
| 45 | #define RGBLIGHT_SAT_STEP 8 | 63 | #define RGBLIGHT_SAT_STEP 8 |
| 46 | #define RGBLIGHT_VAL_STEP 8 | 64 | #define RGBLIGHT_VAL_STEP 8 |
| 47 | #endif | 65 | #endif |
| 48 | |||
| 49 | #endif | ||
