diff options
Diffstat (limited to 'keyboards/mechlovin/infinity87/config.h')
| -rw-r--r-- | keyboards/mechlovin/infinity87/config.h | 81 |
1 files changed, 18 insertions, 63 deletions
diff --git a/keyboards/mechlovin/infinity87/config.h b/keyboards/mechlovin/infinity87/config.h index ccb9f6756..a344c98b8 100644 --- a/keyboards/mechlovin/infinity87/config.h +++ b/keyboards/mechlovin/infinity87/config.h | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | /* | 1 | /* Copyright 2020 Team Mechlovin' |
| 2 | Copyright 2020 Team Mechlovin' | 2 | * |
| 3 | 3 | * 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 | 4 | * 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 | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | the Free Software Foundation, either version 2 of the License, or | 6 | * (at your option) any later version. |
| 7 | (at your option) any later version. | 7 | * |
| 8 | 8 | * 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, | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * GNU General Public License for more details. |
| 12 | GNU General Public License for more details. | 12 | * |
| 13 | 13 | * 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 | 14 | * 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/>. | 15 | */ |
| 16 | */ | ||
| 17 | 16 | ||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
| @@ -21,54 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 20 | ||
| 22 | /* USB Device descriptor parameter */ | 21 | /* USB Device descriptor parameter */ |
| 23 | #define VENDOR_ID 0x4D4C // ML | 22 | #define VENDOR_ID 0x4D4C // ML |
| 24 | #define PRODUCT_ID 0x8701 | 23 | |
| 25 | #define DEVICE_VER 0x0001 | 24 | #define MANUFACTURER Mechlovin.Studio |
| 26 | #define MANUFACTURER Team.Mechlovin | ||
| 27 | #define PRODUCT Infinity 87 | ||
| 28 | 25 | ||
| 29 | /* key matrix size */ | 26 | /* key matrix size */ |
| 30 | #define MATRIX_ROWS 6 | 27 | #define MATRIX_ROWS 6 |
| 31 | #define MATRIX_COLS 17 | 28 | #define MATRIX_COLS 17 |
| 32 | 29 | ||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 } | ||
| 44 | #define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7,B1, B2, B10, B3, B14, B15 } | ||
| 45 | |||
| 46 | #define DIODE_DIRECTION COL2ROW | ||
| 47 | |||
| 48 | #define LED_NUM_LOCK_PIN A3 | ||
| 49 | #define LED_CAPS_LOCK_PIN A4 | ||
| 50 | |||
| 51 | #define BACKLIGHT_PIN B0 | ||
| 52 | #define BACKLIGHT_BREATHING | ||
| 53 | #define BACKLIGHT_PWM_DRIVER PWMD3 | ||
| 54 | #define BACKLIGHT_PWM_CHANNEL 3 | ||
| 55 | |||
| 56 | #define RGB_DI_PIN A15 | ||
| 57 | #define RGBLED_NUM 26 | ||
| 58 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 59 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 60 | /*== all animations enable ==*/ | ||
| 61 | #define RGBLIGHT_ANIMATIONS | ||
| 62 | // /*== or choose animations ==*/ | ||
| 63 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 64 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 65 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 66 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 67 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 68 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 69 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 70 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 71 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 72 | |||
| 73 | // generated by KBFirmware JSON to QMK Parser | ||
| 74 | // https://noroadsleft.github.io/kbf_qmk_converter/ \ No newline at end of file | ||
