aboutsummaryrefslogtreecommitdiff
path: root/keyboards/basketweave/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/basketweave/config.h')
-rw-r--r--keyboards/basketweave/config.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/basketweave/config.h b/keyboards/basketweave/config.h
new file mode 100644
index 000000000..cdaffe4ca
--- /dev/null
+++ b/keyboards/basketweave/config.h
@@ -0,0 +1,61 @@
1/* Copyright 2020 null-ll
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#pragma once
18
19#include "config_common.h"
20
21#define VENDOR_ID 0x6B62
22#define PRODUCT_ID 0x8989
23#define DEVICE_VER 0x0001
24#define MANUFACTURER Clackery
25#define PRODUCT Basketweave
26
27/* key matrix size */
28#define MATRIX_ROWS 5
29#define MATRIX_COLS 15
30
31#define MATRIX_ROW_PINS { A6, C6, C7, A7, A5 }
32#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, B0, B1, B2, D5, D6, C5, C4, C3, C2, C1 }
33#define UNUSED_PINS
34
35/* COL2ROW, ROW2COL*/
36#define DIODE_DIRECTION COL2ROW
37
38#define USB_MAX_POWER_CONSUMPTION 100
39
40/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
41#define DEBOUNCE 5
42
43/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
44#define LOCKING_SUPPORT_ENABLE
45/* Locking resynchronize hack */
46#define LOCKING_RESYNC_ENABLE
47
48/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
49 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
50 */
51// #define GRAVE_ESC_CTRL_OVERRIDE
52
53#define ENCODERS_PAD_A { C0 }
54#define ENCODERS_PAD_B { D7 }
55#define ENCODER_RESOLUTION 4
56#define TAP_CODE_DELAY 10
57
58/* Bootmagic Lite key configuration */
59#define BOOTMAGIC_LITE_ROW 0
60#define BOOTMAGIC_LITE_COLUMN 0
61