1 /* Copyright 2019 omkbd
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 /* USB Device descriptor parameter */
20 #define VENDOR_ID 0xFEED
21 #define PRODUCT_ID 0x0000
22 #define DEVICE_VER 0x0005
23 #define MANUFACTURER Omkbd
24 #define PRODUCT runner3680
25 #define DESCRIPTION A split keyboard
28 // Rows are doubled-up
29 #define MATRIX_ROWS 10
32 // wiring of each half
33 #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
34 #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2 ,B6 }
35 // #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5 } //uncomment this line and comment line above if you need to reverse left-to-right key order
37 /* define tapping term */
38 #define TAPPING_TERM 120
40 /* define if matrix has ghost */
41 //#define MATRIX_HAS_GHOST
43 /* Set 0 if debouncing isn't needed */
46 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
47 #define LOCKING_SUPPORT_ENABLE
48 /* Locking resynchronize hack */
49 #define LOCKING_RESYNC_ENABLE
53 #define RGBLIGHT_ANIMATIONS
55 #define RGBLIGHT_SPLIT
56 #define RGBLED_SPLIT { 35, 35 } // Number of LEDs
57 #define RGBLIGHT_LIMIT_VAL 100
59 #define SOFT_SERIAL_PIN D2
60 #define SELECT_SOFT_SERIAL_SPEED 1
61 /*Sets the protocol speed when using serial communication*/
63 //0: about 189kbps (Experimental only)
64 //1: about 137kbps (default)