2 * Copyright 2017 skully <skullydazed@gmail.com>
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.
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.
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/>.
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 USBSTR_MANUFACTURER 'C', '\x00', 'l', '\x00', 'u', '\x00', 'e', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00'
27 #define PRODUCT "Clueboard60"
28 #define USBSTR_PRODUCT 'C', '\x00', 'l', '\x00', 'u', '\x00', 'e', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00', ' ', '\x00', '6', '\x00', '0', '\x00', '%', '\x00'
29 #define DESCRIPTION "Clueboard 60%"
33 #define MATRIX_COLS 15
36 * Keyboard Matrix Assignments
38 * Change this to how you wired your keyboard
39 * COLS: AVR pins used for columns, left to right
40 * ROWS: AVR pins used for rows, top to bottom
41 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
42 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
45 /* Note: These are not used for arm boards. They're here purely as documentation.
46 * #define MATRIX_ROW_PINS { PB0, PB1, PB2, PA15, PA10 }
47 * #define MATRIX_COL_PINS { PA2, PA3, PA6, PB14, PB15, PA8, PA9, PA7, PB3, PB4, PC14, PC15, PC13, PB5, PB6 }
51 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
54 /* Prevent modifiers from being stuck on after layer changes. */
55 #define PREVENT_STUCK_MODIFIERS
57 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
58 //#define LOCKING_SUPPORT_ENABLE
59 /* Locking resynchronize hack */
60 //#define LOCKING_RESYNC_ENABLE
65 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
66 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
67 * makefile for this to work.)
69 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
70 * until the next keyboard reset.
72 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
73 * fully operational during normal computer usage.
75 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
76 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
77 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
83 /* key combination for magic key command */
84 #define IS_COMMAND() ( \
85 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
89 * Feature disable options
90 * These options are also useful to firmware size reduction.
93 /* disable debug print */
99 /* disable action features */
100 //#define NO_ACTION_LAYER
101 //#define NO_ACTION_TAPPING
102 //#define NO_ACTION_ONESHOT
103 //#define NO_ACTION_MACRO
104 //#define NO_ACTION_FUNCTION
110 /* Prevent use of disabled MIDI features in the keymap */
111 //#define MIDI_ENABLE_STRICT 1
113 /* enable basic MIDI features:
114 - MIDI notes can be sent when in Music mode is on
118 /* enable advanced MIDI features:
119 - MIDI notes can be added to the keymap
120 - Octave shift and transpose
121 - Virtual sustain, portamento, and modulation wheel
124 //#define MIDI_ADVANCED
126 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
127 //#define MIDI_TONE_KEYCODE_OCTAVES 1
131 /* Backlight configuration
133 #define BACKLIGHT_LEVELS 1