]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lets_split/config.h
Merge branch 'master' of https://github.com/climbalima/qmk_firmware
[qmk_firmware.git] / keyboards / lets_split / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@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 #include "config_common.h"
22
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
30
31 <<<<<<< HEAD
32 =======
33 /* key matrix size */
34 // Rows are doubled-up
35 #define MATRIX_ROWS 8
36 #define MATRIX_COLS 6
37
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 }
41
42 >>>>>>> 79f82d3d80a24483d14b078d325bb0f45af58e3d
43 #define CATERINA_BOOTLOADER
44
45 // #define USE_I2C
46
47 // #define EE_HANDS
48
49 #define I2C_MASTER_LEFT
50 // #define I2C_MASTER_RIGHT
51
52 /* COL2ROW or ROW2COL */
53 #define DIODE_DIRECTION COL2ROW
54
55 /* define if matrix has ghost */
56 //#define MATRIX_HAS_GHOST
57
58 /* number of backlight levels */
59 // #define BACKLIGHT_LEVELS 3
60
61 /* Set 0 if debouncing isn't needed */
62 #define DEBOUNCING_DELAY 5
63
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
68
69 /* key combination for command */
70 #define IS_COMMAND() ( \
71     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
72 )
73
74 /* ws2812 RGB LED */
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
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 <<<<<<< HEAD
101 #ifdef SUBPROJECT_rev1
102     #include "rev1/config.h"
103 #endif
104 #ifdef SUBPROJECT_rev2
105     #include "rev2/config.h"
106 #endif
107 #endif
108 =======
109
110 #endif
111 >>>>>>> 79f82d3d80a24483d14b078d325bb0f45af58e3d