aboutsummaryrefslogtreecommitdiff
path: root/keyboards/murcielago/rev1/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/murcielago/rev1/config.h')
-rw-r--r--keyboards/murcielago/rev1/config.h97
1 files changed, 97 insertions, 0 deletions
diff --git a/keyboards/murcielago/rev1/config.h b/keyboards/murcielago/rev1/config.h
new file mode 100644
index 000000000..425c79e6c
--- /dev/null
+++ b/keyboards/murcielago/rev1/config.h
@@ -0,0 +1,97 @@
1/*
2Copyright 2020 elagil
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#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x6166 // af
23#define PRODUCT_ID 0x0001
24#define DEVICE_VER 0x0002
25#define MANUFACTURER elagil
26#define PRODUCT MurciƩlago
27#define DESCRIPTION A custom keyboard with 60 keys
28
29/* key matrix size */
30#define MATRIX_ROWS 12
31#define MATRIX_COLS 6
32
33/* split options, use EEPROM for side detection */
34#define EE_HANDS
35#define SPLIT_USB_DETECT
36
37/*
38 * Keyboard Matrix Assignments
39 *
40 * Change this to how you wired your keyboard
41 * COLS: AVR pins used for columns, left to right
42 * ROWS: AVR pins used for rows, top to bottom
43 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
44 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
45 *
46 */
47#define MATRIX_ROW_PINS { B4, D5, B3, B2, B1, B0 }
48#define MATRIX_COL_PINS { C6, B6, B5, D7, D6, D4 }
49#define MATRIX_ROW_PINS_RIGHT { B3, B7, D4, B6, C6, C7 }
50#define MATRIX_COL_PINS_RIGHT { D6, D7, D3, B2, B1, B0 }
51
52#define ENCODERS_PAD_A { F0 }
53#define ENCODERS_PAD_B { F1 }
54#define ENCODERS_PAD_A_RIGHT { F6 }
55#define ENCODERS_PAD_B_RIGHT { F7 }
56
57#define UNUSED_PINS
58
59/* COL2ROW, ROW2COL*/
60#define DIODE_DIRECTION COL2ROW
61
62/*
63 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
64 */
65#define SOFT_SERIAL_PIN E6
66
67/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
68#define DEBOUNCE 5
69
70/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
71#define LOCKING_SUPPORT_ENABLE
72/* Locking resynchronize hack */
73#define LOCKING_RESYNC_ENABLE
74
75/*
76 * Feature disable options
77 * These options are also useful to firmware size reduction.
78 */
79
80/* disable debug print */
81//#define NO_DEBUG
82
83/* disable print */
84//#define NO_PRINT
85
86/* disable action features */
87//#define NO_ACTION_LAYER
88//#define NO_ACTION_TAPPING
89//#define NO_ACTION_ONESHOT
90
91/* disable these deprecated features by default */
92#define NO_ACTION_MACRO
93#define NO_ACTION_FUNCTION
94
95/* Bootmagic Lite key configuration */
96// #define BOOTMAGIC_LITE_ROW 0
97// #define BOOTMAGIC_LITE_COLUMN 0