diff options
Diffstat (limited to 'keyboards/mlego/m65/rev3/config.h')
| -rw-r--r-- | keyboards/mlego/m65/rev3/config.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/mlego/m65/rev3/config.h b/keyboards/mlego/m65/rev3/config.h new file mode 100644 index 000000000..97992ee84 --- /dev/null +++ b/keyboards/mlego/m65/rev3/config.h | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021-2022 Alin M Elena <alinm.elena@gmail.com> | ||
| 3 | |||
| 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 | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 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/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define DEVICE_VER 0x0003 | ||
| 21 | #define PRODUCT_ID 0x6060 | ||
| 22 | |||
| 23 | #define LED_NUM_LOCK_PIN B12 | ||
| 24 | #define LED_SCROLL_LOCK_PIN B13 | ||
| 25 | #define LED_CAPS_LOCK_PIN C13 | ||
| 26 | |||
| 27 | // 0 1 2 3 4 | ||
| 28 | #define MATRIX_ROW_PINS \ | ||
| 29 | { B10, A5, A6, A7, B0 } | ||
| 30 | // 0 1 2 3 4 5 6 7 8 9 10 11 12 | ||
| 31 | #define MATRIX_COL_PINS \ | ||
| 32 | { A10, A15, B3, B4, B5, B9, B8, B7, A1, A2, A3, A4, B1 } | ||
| 33 | |||
| 34 | #define ENCODERS_PAD_A \ | ||
| 35 | { A0 } | ||
| 36 | #define ENCODERS_PAD_B \ | ||
| 37 | { B6 } | ||
| 38 | |||
| 39 | #define RGB_DI_PIN B15 | ||
| 40 | |||
| 41 | #define UNUSED_PINS | ||
| 42 | #define RGBLIGHT_LAYERS | ||
| 43 | |||
| 44 | #define ENCODER_RESOLUTION 4 | ||
| 45 | |||
| 46 | #undef RGBLED_NUM | ||
| 47 | #define RGBLED_NUM 20 | ||
| 48 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 49 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 50 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 51 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 52 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 53 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 54 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 55 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 56 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 57 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 58 | #define RGBLIGHT_HUE_STEP 8 | ||
| 59 | #define RGBLIGHT_SAT_STEP 8 | ||
