1 /* Copyright 2019 Kumao Kobo <kumaokobo@gmail.com>
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 #include "config_common.h"
21 /* USB Device descriptor parameter */
22 #define VENDOR_ID 0xFEED
23 #define PRODUCT_ID 0x9692
24 #define DEVICE_VER 0x0101
25 #define MANUFACTURER Kumao Kobo
26 #define PRODUCT Pico Keyboard
27 #define DESCRIPTION Split row staggered 5x7 keyboard (using kailh mid-height)
30 // Rows are doubled-up
31 #define MATRIX_ROWS 10
34 // wiring of each half
35 #define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 }
36 #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
37 // #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
39 /* COL2ROW or ROW2COL */
40 #define DIODE_DIRECTION COL2ROW
42 /* define if matrix has ghost */
43 //#define MATRIX_HAS_GHOST
45 /* number of backlight levels */
46 // #define BACKLIGHT_LEVELS 3
48 /* Set 0 if debouncing isn't needed */
51 /* serial.c configuration for split keyboard */
52 #define SOFT_SERIAL_PIN D0
54 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
55 #define LOCKING_SUPPORT_ENABLE
56 /* Locking resynchronize hack */
57 #define LOCKING_RESYNC_ENABLE
63 #define RGBLED_NUM 14 // Number of LEDs
64 #define RGBLIGHT_ANIMATIONS
65 #define RGBLIGHT_HUE_STEP 8
66 #define RGBLIGHT_SAT_STEP 8
67 #define RGBLIGHT_VAL_STEP 8
70 * Feature disable options
71 * These options are also useful to firmware size reduction.
74 /* disable debug print */
80 /* disable action features */
81 //#define NO_ACTION_LAYER
82 //#define NO_ACTION_TAPPING
83 //#define NO_ACTION_ONESHOT
84 //#define NO_ACTION_MACRO
85 //#define NO_ACTION_FUNCTION
87 #define MOUSEKEY_INTERVAL 20
88 #define MOUSEKEY_DELAY 0
89 #define MOUSEKEY_TIME_TO_MAX 60
90 #define MOUSEKEY_MAX_SPEED 7
91 #define MOUSEKEY_WHEEL_DELAY 0