diff options
Diffstat (limited to 'keyboards/handwired/lagrange/config.h')
| -rw-r--r-- | keyboards/handwired/lagrange/config.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/keyboards/handwired/lagrange/config.h b/keyboards/handwired/lagrange/config.h new file mode 100644 index 000000000..309603ad3 --- /dev/null +++ b/keyboards/handwired/lagrange/config.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2020 Dimitris Papavasiliou <dpapavas@protonmail.ch> | ||
| 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 3 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 <https://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x2718 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Dimitris Papavasiliou | ||
| 26 | #define PRODUCT Lagrange | ||
| 27 | |||
| 28 | #define EE_HANDS | ||
| 29 | #define SPLIT_USB_DETECT | ||
| 30 | |||
| 31 | /* key matrix size */ | ||
| 32 | #define MATRIX_ROWS 14 | ||
| 33 | #define MATRIX_COLS 6 | ||
| 34 | |||
| 35 | /* pin-out */ | ||
| 36 | #define MATRIX_ROW_PINS { E6, F1, F0, F4, F5, F6, F7 } | ||
| 37 | #define MATRIX_COL_PINS { B4, B5, D7, B6, C6, D6 } | ||
| 38 | #define MATRIX_ROW_PINS_RIGHT { B5, B4, D7, B6, C6, D6, D4 } | ||
| 39 | #define MATRIX_COL_PINS_RIGHT { C7, F7, F6, F5, F4, F1 } | ||
| 40 | #define UNUSED_PINS | ||
| 41 | |||
| 42 | /* COL2ROW or ROW2COL */ | ||
| 43 | #define DIODE_DIRECTION ROW2COL | ||
| 44 | |||
| 45 | #define DEBOUNCE 5 | ||
| 46 | |||
| 47 | #define LED_CAPS_LOCK_PIN D1 | ||
| 48 | #define LED_SCROLL_LOCK_PIN D2 | ||
