2 Copyright 2012 Jun Wako <wakojun@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 #include "config_common.h"
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID 0xFEED
25 #define PRODUCT_ID 0x3060
26 #define DEVICE_VER 0x0001
27 #define MANUFACTURER Wootpatoot
28 #define PRODUCT Lets Split
29 #define DESCRIPTION A split keyboard for the cheap makers
34 // Rows are doubled-up
38 // wiring of each half
39 #define MATRIX_ROW_PINS { B5, B4, E6, D7 }
40 #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 }
42 >>>>>>> 79f82d3d80a24483d14b078d325bb0f45af58e3d
43 #define CATERINA_BOOTLOADER
49 #define I2C_MASTER_LEFT
50 // #define I2C_MASTER_RIGHT
52 /* COL2ROW or ROW2COL */
53 #define DIODE_DIRECTION COL2ROW
55 /* define if matrix has ghost */
56 //#define MATRIX_HAS_GHOST
58 /* number of backlight levels */
59 // #define BACKLIGHT_LEVELS 3
61 /* Set 0 if debouncing isn't needed */
62 #define DEBOUNCING_DELAY 5
64 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
65 #define LOCKING_SUPPORT_ENABLE
66 /* Locking resynchronize hack */
67 #define LOCKING_RESYNC_ENABLE
69 /* key combination for command */
70 #define IS_COMMAND() ( \
71 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
75 #define ws2812_PORTREG PORTD
76 #define ws2812_DDRREG DDRD
77 #define ws2812_pin PD1
78 #define RGBLED_NUM 28 // Number of LEDs
79 #define RGBLIGHT_HUE_STEP 10
80 #define RGBLIGHT_SAT_STEP 17
81 #define RGBLIGHT_VAL_STEP 17
84 * Feature disable options
85 * These options are also useful to firmware size reduction.
88 /* disable debug print */
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
101 #ifdef SUBPROJECT_rev1
102 #include "rev1/config.h"
104 #ifdef SUBPROJECT_rev2
105 #include "rev2/config.h"
111 >>>>>>> 79f82d3d80a24483d14b078d325bb0f45af58e3d