-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
46 lines (34 loc) · 1015 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright 2022 Cam (@cam443)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x0843
#define PRODUCT_ID 0x3590
#define DEVICE_VER 0x0001
#define MANUFACTURER seenrender
#define PRODUCT malice
#define MATRIX_ROWS 6
#define MATRIX_COLS 16
#define MATRIX_COL_PINS \
{ A2, B4, B5, B8, B9, B10, B1, B0, A7, A6, A5, A4, A3, C15, C14, C13 }
#define MATRIX_ROW_PINS \
{ B3, A8, B15, B14, B13, B12 }
#define DIODE_DIRECTION COL2ROW
#define MATRIX_IO_DELAY 5
#define TAP_CODE_DELAY 10
#define ENCODERS_PAD_A { A0 }
#define ENCODERS_PAD_B { A1 }
#define ENCODER_RESOLUTION 2