diff options
author | Quentin <qlebastard@gmail.com> | 2021-03-01 06:03:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 16:03:55 +1100 |
commit | 7132526dd276ac637757ddff7ab6f57f64ebb84c (patch) | |
tree | 3bf581daae05be0d17414f75e308db50f29c2009 /keyboards/bastardkb/tbkmini/config.h | |
parent | f8266a228cacbc31b0455161e0a8bd073feaa9db (diff) | |
download | qmk_firmware-7132526dd276ac637757ddff7ab6f57f64ebb84c.tar.gz qmk_firmware-7132526dd276ac637757ddff7ab6f57f64ebb84c.zip |
Bastardkb added keyboard and renaming (#11887)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/bastardkb/tbkmini/config.h')
-rw-r--r-- | keyboards/bastardkb/tbkmini/config.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/keyboards/bastardkb/tbkmini/config.h b/keyboards/bastardkb/tbkmini/config.h new file mode 100644 index 000000000..9aee4d5f9 --- /dev/null +++ b/keyboards/bastardkb/tbkmini/config.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | * Copyright 2021 Quentin LEBASTARD <qlebastard@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 | #include "config_common.h" | ||
20 | #define VENDOR_ID 0xA8F8 | ||
21 | #define PRODUCT_ID 0x1828 | ||
22 | #define DEVICE_VER 0x0001 | ||
23 | #define MANUFACTURER Bastard Keyboards | ||
24 | #define PRODUCT TBK Mini | ||
25 | |||
26 | #define MATRIX_ROWS 8 | ||
27 | #define MATRIX_COLS 6 | ||
28 | #define RGBLIGHT_LIMIT_VAL 180 | ||
29 | #define MATRIX_ROW_PINS { B5, F7, F6, B6 } | ||
30 | #define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 } | ||
31 | |||
32 | #define DIODE_DIRECTION ROW2COL | ||
33 | |||
34 | #define RGB_DI_PIN D2 | ||
35 | #define RGBLED_NUM 42 | ||
36 | #define RGBLED_SPLIT { 21, 21 } | ||
37 | #define RGBLIGHT_ANIMATIONS | ||
38 | |||
39 | #define DEBOUNCE 5 | ||
40 | |||
41 | #define SOFT_SERIAL_PIN D0 | ||
42 | |||
43 | #define LOCKING_SUPPORT_ENABLE | ||
44 | #define LOCKING_RESYNC_ENABLE | ||
45 | #define F_SCL 400000L | ||
46 | #define USB_POLLING_INTERVAL_MS 1 | ||
47 | #define MASTER_RIGHT | ||