1 /* Copyright 2018 Salicylic_acid3
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 /* Select hand configuration */
22 // #define MASTER_RIGHT
25 #define USE_SERIAL_PD2
27 #define TAPPING_FORCE_HOLD
28 #define TAPPING_TERM 180
32 #ifndef IOS_DEVICE_ENABLE
33 #define RGBLIGHT_LIMIT_VAL 180
34 #define RGBLIGHT_VAL_STEP 17
36 #define RGBLIGHT_LIMIT_VAL 50
37 #define RGBLIGHT_VAL_STEP 4
39 #define RGBLIGHT_HUE_STEP 10
40 #define RGBLIGHT_SAT_STEP 17
42 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
43 // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
44 // 120 RGBoff, OLEDoff
49 #define USB_MAX_POWER_CONSUMPTION 400
51 // fix iPhone and iPad power adapter issue
52 // iOS device need lessthan 100
53 #define USB_MAX_POWER_CONSUMPTION 100
56 // Selection of RGBLIGHT MODE to use.
57 #if defined(LED_ANIMATIONS)
58 //#define RGBLIGHT_EFFECT_BREATHING
59 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
60 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
61 //#define RGBLIGHT_EFFECT_SNAKE
62 #define RGBLIGHT_EFFECT_KNIGHT
63 //#define RGBLIGHT_EFFECT_CHRISTMAS
64 #define RGBLIGHT_EFFECT_STATIC_GRADIENT
65 //#define RGBLIGHT_EFFECT_RGB_TEST
66 //#define RGBLIGHT_EFFECT_ALTERNATING
71 #undef MOUSEKEY_INTERVAL
72 #define MOUSEKEY_INTERVAL 0
74 #undef MOUSEKEY_TIME_TO_MAX
75 #define MOUSEKEY_TIME_TO_MAX 150
77 #undef MOUSEKEY_MAX_SPEED
78 #define MOUSEKEY_MAX_SPEED 3
80 #undef MOUSEKEY_MOVE_DELTA
81 #define MOUSEKEY_MOVE_DELTA 5
84 #define MOUSEKEY_DELAY 0
86 #undef MOUSEKEY_WHEEL_MAX_SPEED
87 #define MOUSEKEY_WHEEL_MAX_SPEED 1
89 #undef MOUSEKEY_WHEEL_TIME_TO_MAX
90 #define MOUSEKEY_WHEEL_TIME_TO_MAX 0