diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-09-24 16:29:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 09:29:58 -0700 |
commit | 60b13d04cdf4b27f387be90d830dd196c38b1362 (patch) | |
tree | 88b6ab367241b8f5e93427ef6f5b6de03e736663 /keyboards/alf/x2/config.h | |
parent | 076a332613229110bb39d572f5b342306d380a74 (diff) |
Alf X2 Refactor (#14572)
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 6c9a139c3a..2e545f1a5b 100644 --- a/keyboards/alf/x2/config.h +++ b/keyboards/alf/x2/config.h @@ -1,5 +1,20 @@ -#ifndef CONFIG_H -#define CONFIG_H +/* Copyright 2018-2021 @fixed, MechMerlin, QMK + * + * 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 #include "config_common.h" @@ -22,6 +37,9 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW +#define LED_CAPS_LOCK_PIN B2 +#define LED_PIN_ON_STATE 0 + /* number of backlight levels */ #define BACKLIGHT_PIN B6 #ifdef BACKLIGHT_PIN @@ -45,5 +63,3 @@ #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #endif - -#endif |