]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/60/config.h
a862d2cda3f6a94915e463ea8e6c4bb5b2c524c9
[qmk_firmware.git] / keyboards / clueboard / 60 / config.h
1 /*
2  * Copyright 2017 skully <skullydazed@gmail.com>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #ifndef CONFIG_H
19 #define CONFIG_H
20
21 /* USB Device descriptor parameter */
22 #define VENDOR_ID       0xC1ED
23 #define PRODUCT_ID      0x2350
24 #define DEVICE_VER      0x0001
25 #define MANUFACTURER    Clueboard
26 #define PRODUCT         Clueboard 60%
27 #define DESCRIPTION     Clueboard 60%
28
29 /* key matrix size */
30 #define MATRIX_ROWS 5
31 #define MATRIX_COLS 15
32
33 /*
34  * Keyboard Matrix Assignments
35  *
36  * Change this to how you wired your keyboard
37  * COLS: AVR pins used for columns, left to right
38  * ROWS: AVR pins used for rows, top to bottom
39  * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40  *                  ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41  *
42 */
43 /* Note: These are not used for arm boards. They're here purely as documentation.
44  * #define MATRIX_ROW_PINS { PB0, PB1, PB2, PA15, PA10 }
45  * #define MATRIX_COL_PINS { PA2, PA3, PA6, PB14, PB15, PA8, PA9, PA7, PB3, PB4, PC14, PC15, PC13, PB5, PB6 }
46  * #define UNUSED_PINS
47  */
48
49 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
50 #define DEBOUNCE 6
51
52 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
53 //#define LOCKING_SUPPORT_ENABLE
54 /* Locking resynchronize hack */
55 //#define LOCKING_RESYNC_ENABLE
56
57 /*
58  * Force NKRO
59  *
60  * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
61  * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
62  * makefile for this to work.)
63  *
64  * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
65  * until the next keyboard reset.
66  *
67  * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
68  * fully operational during normal computer usage.
69  *
70  * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
71  * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
72  * bootmagic, NKRO mode will always be enabled until it is toggled again during a
73  * power-up.
74  *
75  */
76 //#define FORCE_NKRO
77
78 /* key combination for magic key command */
79 #define IS_COMMAND() ( \
80         keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
81 )
82
83 /*
84  * Feature disable options
85  *  These options are also useful to firmware size reduction.
86  */
87
88 /* disable debug print */
89 //#define NO_DEBUG
90
91 /* disable print */
92 //#define NO_PRINT
93
94 /* disable action features */
95 //#define NO_ACTION_LAYER
96 //#define NO_ACTION_TAPPING
97 //#define NO_ACTION_ONESHOT
98 //#define NO_ACTION_MACRO
99 //#define NO_ACTION_FUNCTION
100
101 /*
102  * MIDI options
103  */
104
105 /* Prevent use of disabled MIDI features in the keymap */
106 //#define MIDI_ENABLE_STRICT 1
107
108 /* enable basic MIDI features:
109    - MIDI notes can be sent when in Music mode is on
110 */
111 //#define MIDI_BASIC
112
113 /* enable advanced MIDI features:
114    - MIDI notes can be added to the keymap
115    - Octave shift and transpose
116    - Virtual sustain, portamento, and modulation wheel
117    - etc.
118 */
119 //#define MIDI_ADVANCED
120
121 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
122 //#define MIDI_TONE_KEYCODE_OCTAVES 1
123
124 #endif
125
126  /* Backlight configuration
127  */
128 #define BACKLIGHT_LEVELS 1