File tree Expand file tree Collapse file tree 20 files changed +16
-87
lines changed Expand file tree Collapse file tree 20 files changed +16
-87
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ ALL_CONFIGS := $(PROJECT_CONFIG) $(CONFIG_H)
379
379
OUTPUTS := $(KEYMAP_OUTPUT ) $(KEYBOARD_OUTPUT )
380
380
$(KEYMAP_OUTPUT)_SRC := $(SRC )
381
381
$(KEYMAP_OUTPUT)_DEFS := $(OPT_DEFS ) $(GFXDEFS ) \
382
- -DQMK_KEYBOARD=\"$(KEYBOARD ) \" -DQMK_KEYBOARD_H=\"$(QMK_KEYBOARD_H ) \" -DQMK_KEYBOARD_CONFIG_H=\" $( KEYBOARD_PATH_1 ) /config.h\" \
382
+ -DQMK_KEYBOARD=\"$(KEYBOARD ) \" -DQMK_KEYBOARD_H=\"$(QMK_KEYBOARD_H ) \" \
383
383
-DQMK_KEYMAP=\"$(KEYMAP ) \" -DQMK_KEYMAP_H=\"$(KEYMAP ) .h\" -DQMK_KEYMAP_CONFIG_H=\"$(KEYMAP_PATH ) /config.h\" \
384
384
-DQMK_SUBPROJECT -DQMK_SUBPROJECT_H -DQMK_SUBPROJECT_CONFIG_H
385
385
$(KEYMAP_OUTPUT)_INC := $(VPATH ) $(EXTRAINCDIRS )
Original file line number Diff line number Diff line change 16
16
17
17
#pragma once
18
18
19
- #include QMK_KEYBOARD_CONFIG_H
20
-
21
19
#define ENABLE_GAME_LAYER
22
20
23
21
#define TEMPLATE ( \
Original file line number Diff line number Diff line change 16
16
17
17
#pragma once
18
18
19
- #include QMK_KEYBOARD_CONFIG_H
20
-
21
19
#define ENABLE_GAME_LAYER
22
20
23
21
#define TEMPLATE ( \
Original file line number Diff line number Diff line change @@ -15,10 +15,7 @@ You should have received a copy of the GNU General Public License
15
15
along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
*/
17
17
18
- #ifndef KEYMAP_CONFIG_H
19
- #define KEYMAP_CONFIG_H
20
-
21
- #include QMK_KEYBOARD_CONFIG_H
18
+ #pragma once
22
19
23
20
#ifndef RGB_DI_PIN
24
21
#define RGB_DI_PIN F4
@@ -28,5 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28
25
#define RGBLIGHT_SAT_STEP 8
29
26
#define RGBLIGHT_VAL_STEP 8
30
27
#endif
31
-
32
- #endif
Original file line number Diff line number Diff line change 22
22
23
23
#pragma once
24
24
25
- #include QMK_KEYBOARD_CONFIG_H
26
-
27
25
#undef TAPPING_TERM
28
26
#define TAPPING_TERM 200
Original file line number Diff line number Diff line change 1
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
2
2
3
3
#undef TAPPING_TERM
4
4
#define TAPPING_TERM 300 //At 500 some bad logic takes hold
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_USER_H
2
- #define CONFIG_USER_H
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
/* using UK layout for space-cadet-shift */
7
4
#define LSPO_KEY KC_9
8
5
#define RSPC_KEY KC_0
9
6
10
7
#define LEADER_TIMEOUT 800 // leader key sequence timeout in millis
11
-
12
- #endif
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_ALGERNON_H
2
- #define CONFIG_ALGERNON_H
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
#undef MOUSEKEY_TIME_TO_MAX
7
4
#undef MOUSEKEY_MAX_SPEED
23
20
24
21
#undef LEADER_TIMEOUT
25
22
#define LEADER_TIMEOUT 1000
26
-
27
- #endif
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_BERFARAH_H
2
- #define CONFIG_BERFARAH_H
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
#undef TAPPING_TERM
7
4
#define TAPPING_TERM 150
10
7
#define RGBLIGHT_EFFECT_BREATHE_MAX 150
11
8
12
9
#undef IGNORE_MOD_TAP_INTERRUPT
13
- #endif
Original file line number Diff line number Diff line change 1
1
// Reference: https://beta.docs.qmk.fm/reference/config-options
2
2
// and https://github.com/qmk/qmk_firmware/blob/master/docs/config_options.md
3
- #include QMK_KEYBOARD_CONFIG_H
3
+ #pragma once
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_USER_H
2
- #define CONFIG_USER_H
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
/* ws2812 RGB LED */
7
4
#define RGB_DI_PIN D7
13
10
14
11
#define RGB_MIDI
15
12
#define RGBW_BB_TWI
16
-
17
- #endif
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_USER_H
2
- #define CONFIG_USER_H
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
#define FORCE_NKRO
7
4
8
5
#undef TAPPING_TERM
9
6
#undef IGNORE_MOD_TAP_INTERRUPT
10
-
11
- #endif
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_USER_H
2
- #define CONFIG_USER_H 1
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
#undef LOCKING_SUPPORT_ENABLE
7
4
#undef LOCKING_RESYNC_ENABLE
8
-
9
- #endif
Original file line number Diff line number Diff line change @@ -16,10 +16,8 @@ You should have received a copy of the GNU General Public License
16
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
*/
18
18
19
- #ifndef CONFIG_H
20
- #define CONFIG_H
19
+ #pragma once
21
20
22
- #include QMK_KEYBOARD_CONFIG_H
23
21
/*
24
22
* Feature disable options
25
23
* These options are also useful to firmware size reduction.
@@ -40,5 +38,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
40
38
//#define DEBUG_MATRIX_SCAN_RATE
41
39
#define ONESHOT_TAP_TOGGLE 2
42
40
#define ONESHOT_TIMEOUT 3000
43
-
44
- #endif
Original file line number Diff line number Diff line change 1
- #ifndef CONFIG_USER_H
2
- #define CONFIG_USER_H
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
#ifndef NO_DEBUG
7
4
#define NO_DEBUG
8
5
#endif
9
6
#ifndef NO_PRINT
10
7
#define NO_PRINT
11
8
#endif
12
-
13
- #endif
Original file line number Diff line number Diff line change 1
- #ifndef KEYBOARDS_ERGODOX_CONFIG_H_
2
- #define KEYBOARDS_ERGODOX_CONFIG_H_
3
-
4
- #include QMK_KEYBOARD_CONFIG_H
1
+ #pragma once
5
2
6
3
#undef MOUSEKEY_DELAY
7
4
#undef MOUSEKEY_INTERVAL
31
28
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
32
29
get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
33
30
)
34
-
35
- #endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */
Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License
18
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
*/
20
20
21
- #ifndef CONFIG_USER_H
22
- #define CONFIG_USER_H
23
-
24
- #include QMK_KEYBOARD_CONFIG_H
21
+ #pragma once
25
22
26
23
/* Use I2C or Serial, not both */
27
24
@@ -33,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
33
30
#define MASTER_LEFT
34
31
// #define _MASTER_RIGHT
35
32
// #define EE_HANDS
36
-
37
- #endif
Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License
18
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
*/
20
20
21
- #ifndef CONFIG_USER_H
22
- #define CONFIG_USER_H
23
-
24
- #include QMK_KEYBOARD_CONFIG_H
21
+ #pragma once
25
22
26
23
/* Use I2C or Serial, not both */
27
24
@@ -33,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
33
30
#define MASTER_LEFT
34
31
// #define _MASTER_RIGHT
35
32
// #define EE_HANDS
36
-
37
- #endif
Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License
18
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
*/
20
20
21
- #ifndef CONFIG_USER_H
22
- #define CONFIG_USER_H
23
-
24
- #include QMK_KEYBOARD_CONFIG_H
21
+ #pragma once
25
22
26
23
/* Use I2C or Serial, not both */
27
24
@@ -33,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
33
30
#define MASTER_LEFT
34
31
// #define _MASTER_RIGHT
35
32
// #define EE_HANDS
36
-
37
- #endif
Original file line number Diff line number Diff line change 16
16
17
17
#pragma once
18
18
19
- #include QMK_KEYBOARD_CONFIG_H
20
-
21
19
#define ENABLE_GAME_LAYER
22
20
23
21
#define TEMPLATE_TKL (\
You can’t perform that action at this time.
0 commit comments