2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #include "config_common.h"
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID 0xFEED
25 #define PRODUCT_ID 0x3060
26 #define DEVICE_VER 0x0001
27 #define MANUFACTURER tshort
28 // defined in subfolder
29 #define DESCRIPTION A split keyboard for the cheap makers
32 #define MOUSEKEY_INTERVAL 20
33 #define MOUSEKEY_DELAY 0
34 #define MOUSEKEY_TIME_TO_MAX 60
35 #define MOUSEKEY_MAX_SPEED 7
36 #define MOUSEKEY_WHEEL_DELAY 0
38 /* Set 0 if debouncing isn't needed */
39 #define DEBOUNCING_DELAY 5
41 /* serial.c configuration for split keyboard */
42 #define SOFT_SERIAL_PIN D0
44 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45 #define LOCKING_SUPPORT_ENABLE
46 /* Locking resynchronize hack */
47 #define LOCKING_RESYNC_ENABLE
49 /* key combination for command */
50 #define IS_COMMAND() ( \
51 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
54 /* Enables This makes it easier for fast typists to use dual-function keys */
55 #define PERMISSIVE_HOLD
60 #define RGBLED_NUM 12 // Number of LEDs
64 * Feature disable options
65 * These options are also useful to firmware size reduction.
68 /* disable debug print */
74 /* disable action features */
75 //#define NO_ACTION_LAYER
76 //#define NO_ACTION_TAPPING
77 //#define NO_ACTION_ONESHOT
78 //#define NO_ACTION_MACRO
79 //#define NO_ACTION_FUNCTION