aboutsummaryrefslogtreecommitdiff
path: root/keyboards/for_science/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/for_science/config.h')
-rw-r--r--keyboards/for_science/config.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/keyboards/for_science/config.h b/keyboards/for_science/config.h
new file mode 100644
index 000000000..8c9c49d16
--- /dev/null
+++ b/keyboards/for_science/config.h
@@ -0,0 +1,78 @@
1/*
2Copyright 2017 Paul James (paul@peej.co.uk)
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0xFEED
21#define PRODUCT_ID 0xF22C
22#define DEVICE_VER 0x0001
23#define MANUFACTURER Peej
24#define PRODUCT For Science
25
26/* key matrix size */
27// Rows are doubled-up
28#define MATRIX_ROWS 10
29#define MATRIX_COLS 5
30
31/*
32 * Keyboard Matrix Assignments
33 *
34 * Change this to how you wired your keyboard
35 * COLS: AVR pins used for columns, left to right
36 * ROWS: AVR pins used for rows, top to bottom
37 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
38 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
39 *
40*/
41//#define MATRIX_ROW_PINS { F6, B1, B3, B2, B6 }
42#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 }
43//#define MATRIX_COL_PINS { D4, C6, D7, E6, B4 }
44#define MATRIX_COL_PINS { F6, F7, B1, B3, B2 }
45#define UNUSED_PINS
46
47//#define USE_I2C
48#define SOFT_SERIAL_PIN D0
49
50/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
51#define DIODE_DIRECTION ROW2COL
52
53/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
54#define DEBOUNCE 5
55
56//#define MASTER_RIGHT
57
58/* key combination for magic key command */
59/* defined by default; to change, uncomment and set to the combination you want */
60// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
61
62/*
63 * Feature disable options
64 * These options are also useful to firmware size reduction.
65 */
66
67/* disable debug print */
68//#define NO_DEBUG
69
70/* disable print */
71//#define NO_PRINT
72
73/* disable action features */
74//#define NO_ACTION_LAYER
75//#define NO_ACTION_TAPPING
76//#define NO_ACTION_ONESHOT
77//#define NO_ACTION_MACRO
78//#define NO_ACTION_FUNCTION