aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/tbk/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bastardkb/tbk/config.h')
-rw-r--r--keyboards/bastardkb/tbk/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/bastardkb/tbk/config.h b/keyboards/bastardkb/tbk/config.h
new file mode 100644
index 000000000..f6e3ebef7
--- /dev/null
+++ b/keyboards/bastardkb/tbk/config.h
@@ -0,0 +1,39 @@
1/*
2 * Copyright 2021 Quentin LEBASTARD <[email protected]>
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 The Bastard Keyboard
25
26#define MATRIX_ROWS 10
27#define MATRIX_COLS 6
28#define DIODE_DIRECTION ROW2COL
29#define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 }
30#define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
31
32#define RGB_DI_PIN D2
33#define RGBLED_NUM 38
34#define RGBLED_SPLIT { 19, 19 }
35#define RGBLIGHT_SPLIT
36#define RGBLIGHT_ANIMATIONS
37#define DEBOUNCE 5
38#define SOFT_SERIAL_PIN D0
39#define MASTER_RIGHT