diff options
Diffstat (limited to 'keyboards/merge/um70/config.h')
| -rw-r--r-- | keyboards/merge/um70/config.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/keyboards/merge/um70/config.h b/keyboards/merge/um70/config.h new file mode 100644 index 000000000..a1374aa9a --- /dev/null +++ b/keyboards/merge/um70/config.h | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | /* Copyright 2021 duoshock | ||
| 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 | #include "config_common.h" | ||
| 18 | |||
| 19 | #define VENDOR_ID 0x4D65 | ||
| 20 | #define PRODUCT_ID 0x3222 | ||
| 21 | #define DEVICE_VER 0x0001 | ||
| 22 | #define MANUFACTURER Merge | ||
| 23 | #define PRODUCT UM-70 | ||
| 24 | |||
| 25 | #define MATRIX_ROWS 10 | ||
| 26 | #define MATRIX_COLS 8 | ||
| 27 | |||
| 28 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } | ||
| 29 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 } | ||
| 30 | #define UNUSED_PINS | ||
| 31 | |||
| 32 | /* COL2ROW or ROW2COL */ | ||
| 33 | #define DIODE_DIRECTION COL2ROW | ||
| 34 | |||
| 35 | #define SOFT_SERIAL_PIN D2 | ||
| 36 | #define SPLIT_USB_DETECT | ||
| 37 | #define MASTER_LEFT | ||
| 38 | #define SPLIT_MODS_ENABLE | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D3 | ||
| 41 | #define RGBLIGHT_SPLIT | ||
| 42 | #define RGBLED_NUM 83 | ||
| 43 | #define RGBLED_SPLIT { 39, 44 } | ||
| 44 | #ifdef RGB_MATRIX_ENABLE | ||
| 45 | # define DRIVER_LED_TOTAL RGBLED_NUM | ||
| 46 | # define RGB_MATRIX_SPLIT RGBLED_SPLIT | ||
| 47 | #endif | ||
| 48 | #define RGBLIGHT_SLEEP | ||
| 49 | #define RGBLIGHT_LIMIT_VAL 150 | ||
| 50 | |||
| 51 | #define DEBOUNCE 5 | ||
| 52 | |||
| 53 | #define B6_AUDIO | ||
| 54 | |||
| 55 | #ifdef AUDIO_ENABLE | ||
| 56 | #define STARTUP_SONG SONG(STARTUP_SOUND) | ||
| 57 | #endif | ||
| 58 | |||
| 59 | #define ENCODERS_PAD_A { B4 } | ||
| 60 | #define ENCODERS_PAD_B { B5 } | ||
| 61 | |||
| 62 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 63 | #define BOOTMAGIC_LITE_COLUMN 0 \ No newline at end of file | ||
