diff options
Diffstat (limited to 'keyboards/mechwild/bde/lefty/config.h')
| -rw-r--r-- | keyboards/mechwild/bde/lefty/config.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/mechwild/bde/lefty/config.h b/keyboards/mechwild/bde/lefty/config.h new file mode 100644 index 000000000..082295ef7 --- /dev/null +++ b/keyboards/mechwild/bde/lefty/config.h | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* Copyright 2020 Kyle McCreery | ||
| 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 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x6D77 // mw = "MechWild" | ||
| 24 | #define PRODUCT_ID 0x1701 | ||
| 25 | #define DEVICE_VER 0x0203 | ||
| 26 | #define MANUFACTURER MechWild | ||
| 27 | #define PRODUCT BDE Lefty | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 3 | ||
| 31 | #define MATRIX_COLS 14 | ||
| 32 | |||
| 33 | /* key matrix pins */ | ||
| 34 | #define MATRIX_ROW_PINS { D1, D7, D3} | ||
| 35 | #define MATRIX_COL_PINS { F7, B1, B6, B2, B3, F6, F5, F4, D0, D4, C6, E6, B5, B4} | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION ROW2COL | ||
| 40 | |||
| 41 | /* If RGBLIGHT_ENABLE is set to yes in the rules, ensure the RGBLED_NUM is accurate for how many you have attached. */ | ||
| 42 | #define RGB_DI_PIN D2 | ||
| 43 | #define RGBLED_NUM 16 | ||
| 44 | #define RGBLIGHT_ANIMATIONS | ||
| 45 | |||
| 46 | /* Set 0 if debouncing isn't needed */ | ||
| 47 | #define DEBOUNCE 5 | ||
| 48 | |||
| 49 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 50 | #define LOCKING_SUPPORT_ENABLE | ||
| 51 | |||
| 52 | /* Locking resynchronize hack */ | ||
| 53 | #define LOCKING_RESYNC_ENABLE | ||
| 54 | |||
