aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mode/m65s/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mode/m65s/config.h')
-rw-r--r--keyboards/mode/m65s/config.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/keyboards/mode/m65s/config.h b/keyboards/mode/m65s/config.h
new file mode 100644
index 000000000..ba6edb8a0
--- /dev/null
+++ b/keyboards/mode/m65s/config.h
@@ -0,0 +1,73 @@
1/*
2 Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0x00DE
22#define PRODUCT_ID 0x6583 // For 65S
23#define DEVICE_VER 0x0001
24#define MANUFACTURER Mode
25#define PRODUCT SixtyFive S
26
27/* key matrix size */
28#define MATRIX_ROWS 6
29#define MATRIX_COLS 16
30
31#define MATRIX_COL_PINS { C7 , A8 , A10, A4 , A5 , A6 , C10, A7, C4 , C5 , A15, B0 , B1 , B12, B10, B13 }
32#define MATRIX_ROW_PINS { A3 , B14, B15, C9 , C6 , C11 }
33#define DIODE_DIRECTION COL2ROW
34
35/* define if matrix has ghost */
36//#define MATRIX_HAS_GHOST
37
38/* Set 0 if debouncing isn't needed */
39#define DEBOUNCE 5
40
41/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
42#define LOCKING_SUPPORT_ENABLE
43/* Locking resynchronize hack */
44#define LOCKING_RESYNC_ENABLE
45
46#define EEPROM_I2C_24LC128
47//#define I2C1_CLOCK_SPEED 400000
48//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
49
50#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
51
52#define STM32_HSECLK 8000000
53
54#define OPENDRAIN_INDICATORS
55#define LED_CAPS_LOCK_PIN C8
56
57/*
58 * Feature disable options
59 * These options are also useful to firmware size reduction.
60 */
61
62/* disable debug print */
63//#define NO_DEBUG
64
65/* disable print */
66//#define NO_PRINT
67
68/* disable action features */
69//#define NO_ACTION_LAYER
70//#define NO_ACTION_TAPPING
71//#define NO_ACTION_ONESHOT
72//#define NO_ACTION_MACRO
73//#define NO_ACTION_FUNCTION