2 Copyright 2012 Jun Wako <wakojun@gmail.com>
\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
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
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
21 #include "config_common.h"
\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
31 /* key matrix size */
\r
32 // Rows are doubled-up
\r
33 #define MATRIX_ROWS 14
\r
34 #define MATRIX_COLS 8
\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
40 #define CATERINA_BOOTLOADER
\r
42 /* COL2ROW or ROW2COL */
\r
43 #define DIODE_DIRECTION COL2ROW
\r
45 /* define if matrix has ghost */
\r
46 //#define MATRIX_HAS_GHOST
\r
48 /* number of backlight levels */
\r
49 // #define BACKLIGHT_LEVELS 3
\r
51 /* Set 0 if debouncing isn't needed */
\r
52 #define DEBOUNCING_DELAY 5
\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
59 /* key combination for command */
\r
60 #define IS_COMMAND() ( \
\r
61 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
\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
72 * Feature disable options
\r
73 * These options are also useful to firmware size reduction.
\r
76 /* disable debug print */
\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