aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keyboardio/atreus/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keyboardio/atreus/config.h')
-rw-r--r--keyboards/keyboardio/atreus/config.h81
1 files changed, 81 insertions, 0 deletions
diff --git a/keyboards/keyboardio/atreus/config.h b/keyboards/keyboardio/atreus/config.h
new file mode 100644
index 000000000..fb3a48e58
--- /dev/null
+++ b/keyboards/keyboardio/atreus/config.h
@@ -0,0 +1,81 @@
1/* Copyright (C) 2019, 2020 Keyboard.io, Inc
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/* USB Device descriptor parameter */
22
23#define VENDOR_ID 0x1209
24#define PRODUCT_ID 0x2303
25#define DEVICE_VER 0x0000
26#define MANUFACTURER Keyboardio
27#define PRODUCT Atreus
28
29/* key matrix size */
30#define MATRIX_ROWS 4
31#define MATRIX_COLS 12
32
33/* define if matrix has ghost */
34//#define MATRIX_HAS_GHOST
35
36/* number of backlight levels */
37//#define BACKLIGHT_LEVELS 3
38
39/* Set 0 if debouncing isn't needed */
40#define DEBOUNCE 5
41
42/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
43#define LOCKING_SUPPORT_ENABLE
44/* Locking resynchronize hack */
45#define LOCKING_RESYNC_ENABLE
46
47/*
48 * Keyboard Matrix Assignments
49 *
50 * Change this to how you wired your keyboard
51 * COLS: AVR pins used for columns, left to right
52 * ROWS: AVR pins used for rows, top to bottom
53 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
54 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
55 *
56 */
57
58#define MATRIX_ROW_PINS { F6, F5, F4, F1 }
59#define MATRIX_COL_PINS { F7, E2, C7, C6, B6, B5, D7, D6, D4, D5, D3, D2 }
60#define UNUSED_PINS
61
62/* COL2ROW, ROW2COL*/
63#define DIODE_DIRECTION COL2ROW
64
65/*
66 * Feature disable options
67 * These options are also useful to firmware size reduction.
68 */
69
70/* disable debug print */
71//#define NO_DEBUG
72
73/* disable print */
74//#define NO_PRINT
75
76/* disable action features */
77//#define NO_ACTION_LAYER
78//#define NO_ACTION_TAPPING
79//#define NO_ACTION_ONESHOT
80//#define NO_ACTION_MACRO
81//#define NO_ACTION_FUNCTION