]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/deltasplit75/ProtoSplit/config.h
Changed case of deltasplit75 to be lowercase.
[qmk_firmware.git] / keyboards / deltasplit75 / ProtoSplit / config.h
1 /*\r
2 Copyright 2012 Jun Wako <wakojun@gmail.com>\r
3 \r
4 This program is free software: you can redistribute it and/or modify\r
5 it under the terms of the GNU General Public License as published by\r
6 the Free Software Foundation, either version 2 of the License, or\r
7 (at your option) any later version.\r
8 \r
9 This program is distributed in the hope that it will be useful,\r
10 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
12 GNU General Public License for more details.\r
13 \r
14 You should have received a copy of the GNU General Public License\r
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
16 */\r
17 \r
18 #ifndef CONFIG_H\r
19 #define CONFIG_H\r
20 \r
21 #include "config_common.h"\r
22 \r
23 /* USB Device descriptor parameter */\r
24 #define VENDOR_ID       0xFEED\r
25 #define PRODUCT_ID      0x3060\r
26 #define DEVICE_VER      0x0001\r
27 #define MANUFACTURER    xyxjj\r
28 #define PRODUCT         DeltaSplit75\r
29 #define DESCRIPTION     75% split keyboard\r
30 \r
31 /* key matrix size */\r
32 // Rows are doubled-up\r
33 #define MATRIX_ROWS 14\r
34 #define MATRIX_COLS 8\r
35 \r
36 // wiring of each half\r
37 #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2 }\r
38 #define MATRIX_COL_PINS { B6, B5, B4, E6, D7, C6, D4, D1}\r
39 \r
40 #define CATERINA_BOOTLOADER\r
41 \r
42 /* COL2ROW or ROW2COL */\r
43 #define DIODE_DIRECTION COL2ROW\r
44 \r
45 /* define if matrix has ghost */\r
46 //#define MATRIX_HAS_GHOST\r
47 \r
48 /* number of backlight levels */\r
49 // #define BACKLIGHT_LEVELS 3\r
50 \r
51 /* Set 0 if debouncing isn't needed */\r
52 #define DEBOUNCING_DELAY 5\r
53 \r
54 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */\r
55 #define LOCKING_SUPPORT_ENABLE\r
56 /* Locking resynchronize hack */\r
57 #define LOCKING_RESYNC_ENABLE\r
58 \r
59 /* key combination for command */\r
60 #define IS_COMMAND() ( \\r
61     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \\r
62 )\r
63 \r
64 /* ws2812 RGB LED */\r
65 #define RGB_DI_PIN D3\r
66 #define RGBLIGHT_TIMER\r
67 #define RGBLED_NUM 12    // Number of LEDs\r
68 #define ws2812_PORTREG  PORTD\r
69 #define ws2812_DDRREG   DDRD\r
70 \r
71 /*\r
72  * Feature disable options\r
73  *  These options are also useful to firmware size reduction.\r
74  */\r
75 \r
76 /* disable debug print */\r
77 // #define NO_DEBUG\r
78 \r
79 /* disable print */\r
80 // #define NO_PRINT\r
81 \r
82 /* disable action features */\r
83 //#define NO_ACTION_LAYER\r
84 //#define NO_ACTION_TAPPING\r
85 //#define NO_ACTION_ONESHOT\r
86 //#define NO_ACTION_MACRO\r
87 //#define NO_ACTION_FUNCTION\r
88 \r
89 \r
90 #endif