[Keyboard] Add keyboard Naked60 (#6527)
[jackhill/qmk/firmware.git] / keyboards / naked60 / keymaps / salicylic_with_nafuda / config.h
1 /* Copyright 2018 Salicylic_acid3
2 *
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.
7 *
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.
12 *
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/>.
15 */
16
17 #pragma once
18
19 /* Select hand configuration */
20
21 #define MASTER_LEFT
22 // #define MASTER_RIGHT
23 // #define EE_HANDS
24
25 #define USE_SERIAL_PD2
26
27 #define TAPPING_FORCE_HOLD
28 #define TAPPING_TERM 180
29
30 #define RGBLED_NUM 7
31
32 #ifndef IOS_DEVICE_ENABLE
33 #define RGBLIGHT_LIMIT_VAL 180
34 #define RGBLIGHT_VAL_STEP 17
35 #else
36 #define RGBLIGHT_LIMIT_VAL 50
37 #define RGBLIGHT_VAL_STEP 4
38 #endif
39 #define RGBLIGHT_HUE_STEP 10
40 #define RGBLIGHT_SAT_STEP 17
41
42 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
43 // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
44 // 120 RGBoff, OLEDoff
45 // 120 OLED
46 // 330 RGB 6
47 // 300 RGB 32
48 // 310 OLED & RGB 32
49 #define USB_MAX_POWER_CONSUMPTION 400
50 #else
51 // fix iPhone and iPad power adapter issue
52 // iOS device need lessthan 100
53 #define USB_MAX_POWER_CONSUMPTION 100
54 #endif
55
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
67 #endif
68
69 #define MK_3_SPEED
70
71 #undef MOUSEKEY_INTERVAL
72 #define MOUSEKEY_INTERVAL 0
73
74 #undef MOUSEKEY_TIME_TO_MAX
75 #define MOUSEKEY_TIME_TO_MAX 150
76
77 #undef MOUSEKEY_MAX_SPEED
78 #define MOUSEKEY_MAX_SPEED 3
79
80 #undef MOUSEKEY_MOVE_DELTA
81 #define MOUSEKEY_MOVE_DELTA 5
82
83 #undef MOUSEKEY_DELAY
84 #define MOUSEKEY_DELAY 0
85
86 #undef MOUSEKEY_WHEEL_MAX_SPEED
87 #define MOUSEKEY_WHEEL_MAX_SPEED 1
88
89 #undef MOUSEKEY_WHEEL_TIME_TO_MAX
90 #define MOUSEKEY_WHEEL_TIME_TO_MAX 0