2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4 Copyright 2017 Biacco42
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #include "config_common.h"
25 /* USB Device descriptor parameter */
26 #define VENDOR_ID 0xBC42
27 #define PRODUCT_ID 0x0042
28 #define DEVICE_VER 0x0100
29 #define MANUFACTURER Biacco42
30 #define PRODUCT Ergo42
31 #define DESCRIPTION The Answer to the Ultimate Question of Life, the Universe, and at least Keyboards
34 // Rows are doubled-up
38 // wiring of each half
39 #define MATRIX_ROW_PINS { D7, E6, B4, B5 }
40 #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
41 // #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6 } //uncomment this line and comment line above if you need to reverse left-to-right key order
43 #define CATERINA_BOOTLOADER
45 /* define tapping term */
46 #define TAPPING_TERM 100
48 /* define if matrix has ghost */
49 //#define MATRIX_HAS_GHOST
51 /* number of backlight levels */
52 // #define BACKLIGHT_LEVELS 3
54 /* Set 0 if debouncing isn't needed */
55 #define DEBOUNCING_DELAY 5
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
62 /* key combination for command */
63 #define IS_COMMAND() ( \
64 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
69 #define RGBLIGHT_TIMER
70 #define RGBLED_NUM 12 // Number of LEDs
71 #define ws2812_PORTREG PORTD
72 #define ws2812_DDRREG DDRD
75 * Feature disable options
76 * These options are also useful to firmware size reduction.
79 /* disable debug print */
85 /* disable action features */
86 //#define NO_ACTION_LAYER
87 //#define NO_ACTION_TAPPING
88 //#define NO_ACTION_ONESHOT
89 //#define NO_ACTION_MACRO
90 //#define NO_ACTION_FUNCTION