From a07c2a137708f8e2b6e1440d386569b97d613cc5 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 22 Jan 2021 19:32:10 +0000 Subject: Remove QMK_KEYBOARD_CONFIG_H (#11576) --- layouts/community/60_ansi/talljoe-ansi/config.h | 2 -- layouts/community/60_hhkb/talljoe-hhkb/config.h | 2 -- layouts/community/60_iso/unxmaal/config.h | 7 +------ layouts/community/ergodox/333fred/config.h | 2 -- layouts/community/ergodox/adam/config.h | 2 +- layouts/community/ergodox/albert/config.h | 7 +------ layouts/community/ergodox/algernon/config.h | 7 +------ layouts/community/ergodox/berfarah/config.h | 6 +----- layouts/community/ergodox/issmirnov/config.h | 2 +- layouts/community/ergodox/jackhumbert/config.h | 7 +------ layouts/community/ergodox/kejadlen/config.h | 7 +------ layouts/community/ergodox/supercoder/config.h | 7 +------ layouts/community/ergodox/townk_osx/config.h | 6 +----- layouts/community/ergodox/videck/config.h | 7 +------ layouts/community/ergodox/win10_writers-block/config.h | 7 +------ layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h | 7 +------ layouts/community/ortho_4x12/crs/config.h | 7 +------ layouts/community/ortho_4x12/ergodoxish/config.h | 7 +------ layouts/community/tkl_ansi/talljoe-tkl/config.h | 2 -- 19 files changed, 15 insertions(+), 86 deletions(-) (limited to 'layouts') diff --git a/layouts/community/60_ansi/talljoe-ansi/config.h b/layouts/community/60_ansi/talljoe-ansi/config.h index 79cc190014..0c661f5689 100644 --- a/layouts/community/60_ansi/talljoe-ansi/config.h +++ b/layouts/community/60_ansi/talljoe-ansi/config.h @@ -16,8 +16,6 @@ #pragma once -#include QMK_KEYBOARD_CONFIG_H - #define ENABLE_GAME_LAYER #define TEMPLATE( \ diff --git a/layouts/community/60_hhkb/talljoe-hhkb/config.h b/layouts/community/60_hhkb/talljoe-hhkb/config.h index 0424fee1f3..4868890d45 100644 --- a/layouts/community/60_hhkb/talljoe-hhkb/config.h +++ b/layouts/community/60_hhkb/talljoe-hhkb/config.h @@ -16,8 +16,6 @@ #pragma once -#include QMK_KEYBOARD_CONFIG_H - #define ENABLE_GAME_LAYER #define TEMPLATE( \ diff --git a/layouts/community/60_iso/unxmaal/config.h b/layouts/community/60_iso/unxmaal/config.h index 7a500b1bb5..4a90186ee9 100644 --- a/layouts/community/60_iso/unxmaal/config.h +++ b/layouts/community/60_iso/unxmaal/config.h @@ -15,10 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef KEYMAP_CONFIG_H -#define KEYMAP_CONFIG_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #ifndef RGB_DI_PIN #define RGB_DI_PIN F4 @@ -28,5 +25,3 @@ along with this program. If not, see . #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #endif - -#endif diff --git a/layouts/community/ergodox/333fred/config.h b/layouts/community/ergodox/333fred/config.h index 0509ddbbb9..00ed747817 100644 --- a/layouts/community/ergodox/333fred/config.h +++ b/layouts/community/ergodox/333fred/config.h @@ -22,7 +22,5 @@ #pragma once -#include QMK_KEYBOARD_CONFIG_H - #undef TAPPING_TERM #define TAPPING_TERM 200 diff --git a/layouts/community/ergodox/adam/config.h b/layouts/community/ergodox/adam/config.h index 1a8fddb506..62e82d8b2b 100644 --- a/layouts/community/ergodox/adam/config.h +++ b/layouts/community/ergodox/adam/config.h @@ -1,4 +1,4 @@ -#include QMK_KEYBOARD_CONFIG_H +#pragma once #undef TAPPING_TERM #define TAPPING_TERM 300 //At 500 some bad logic takes hold diff --git a/layouts/community/ergodox/albert/config.h b/layouts/community/ergodox/albert/config.h index 0c6231fbbf..f0f524b306 100644 --- a/layouts/community/ergodox/albert/config.h +++ b/layouts/community/ergodox/albert/config.h @@ -1,12 +1,7 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once /* using UK layout for space-cadet-shift */ #define LSPO_KEY KC_9 #define RSPC_KEY KC_0 #define LEADER_TIMEOUT 800 // leader key sequence timeout in millis - -#endif diff --git a/layouts/community/ergodox/algernon/config.h b/layouts/community/ergodox/algernon/config.h index 8c115e21a0..583c3911f1 100644 --- a/layouts/community/ergodox/algernon/config.h +++ b/layouts/community/ergodox/algernon/config.h @@ -1,7 +1,4 @@ -#ifndef CONFIG_ALGERNON_H -#define CONFIG_ALGERNON_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #undef MOUSEKEY_TIME_TO_MAX #undef MOUSEKEY_MAX_SPEED @@ -23,5 +20,3 @@ #undef LEADER_TIMEOUT #define LEADER_TIMEOUT 1000 - -#endif diff --git a/layouts/community/ergodox/berfarah/config.h b/layouts/community/ergodox/berfarah/config.h index 4acefdecc7..0acb95b85f 100644 --- a/layouts/community/ergodox/berfarah/config.h +++ b/layouts/community/ergodox/berfarah/config.h @@ -1,7 +1,4 @@ -#ifndef CONFIG_BERFARAH_H -#define CONFIG_BERFARAH_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #undef TAPPING_TERM #define TAPPING_TERM 150 @@ -10,4 +7,3 @@ #define RGBLIGHT_EFFECT_BREATHE_MAX 150 #undef IGNORE_MOD_TAP_INTERRUPT -#endif diff --git a/layouts/community/ergodox/issmirnov/config.h b/layouts/community/ergodox/issmirnov/config.h index fe62a7d1df..32f7aeccc1 100644 --- a/layouts/community/ergodox/issmirnov/config.h +++ b/layouts/community/ergodox/issmirnov/config.h @@ -1,3 +1,3 @@ // Reference: https://beta.docs.qmk.fm/reference/config-options // and https://github.com/qmk/qmk_firmware/blob/master/docs/config_options.md -#include QMK_KEYBOARD_CONFIG_H +#pragma once diff --git a/layouts/community/ergodox/jackhumbert/config.h b/layouts/community/ergodox/jackhumbert/config.h index 04bbed611a..0aca0d6917 100644 --- a/layouts/community/ergodox/jackhumbert/config.h +++ b/layouts/community/ergodox/jackhumbert/config.h @@ -1,7 +1,4 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once /* ws2812 RGB LED */ #define RGB_DI_PIN D7 @@ -13,5 +10,3 @@ #define RGB_MIDI #define RGBW_BB_TWI - -#endif \ No newline at end of file diff --git a/layouts/community/ergodox/kejadlen/config.h b/layouts/community/ergodox/kejadlen/config.h index 9e076dead1..4e554e8a1a 100644 --- a/layouts/community/ergodox/kejadlen/config.h +++ b/layouts/community/ergodox/kejadlen/config.h @@ -1,11 +1,6 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #define FORCE_NKRO #undef TAPPING_TERM #undef IGNORE_MOD_TAP_INTERRUPT - -#endif diff --git a/layouts/community/ergodox/supercoder/config.h b/layouts/community/ergodox/supercoder/config.h index 8c191a87c5..0212a4bcf5 100644 --- a/layouts/community/ergodox/supercoder/config.h +++ b/layouts/community/ergodox/supercoder/config.h @@ -1,9 +1,4 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H 1 - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #undef LOCKING_SUPPORT_ENABLE #undef LOCKING_RESYNC_ENABLE - -#endif diff --git a/layouts/community/ergodox/townk_osx/config.h b/layouts/community/ergodox/townk_osx/config.h index 59b3188dfb..c817dadf50 100644 --- a/layouts/community/ergodox/townk_osx/config.h +++ b/layouts/community/ergodox/townk_osx/config.h @@ -16,10 +16,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once -#include QMK_KEYBOARD_CONFIG_H /* * Feature disable options * These options are also useful to firmware size reduction. @@ -40,5 +38,3 @@ along with this program. If not, see . //#define DEBUG_MATRIX_SCAN_RATE #define ONESHOT_TAP_TOGGLE 2 #define ONESHOT_TIMEOUT 3000 - -#endif diff --git a/layouts/community/ergodox/videck/config.h b/layouts/community/ergodox/videck/config.h index b18b7fa9a9..e44dcd37c8 100644 --- a/layouts/community/ergodox/videck/config.h +++ b/layouts/community/ergodox/videck/config.h @@ -1,7 +1,4 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #ifndef NO_DEBUG #define NO_DEBUG @@ -9,5 +6,3 @@ #ifndef NO_PRINT #define NO_PRINT #endif - -#endif diff --git a/layouts/community/ergodox/win10_writers-block/config.h b/layouts/community/ergodox/win10_writers-block/config.h index b0b4a1ebb9..ca75f83aab 100644 --- a/layouts/community/ergodox/win10_writers-block/config.h +++ b/layouts/community/ergodox/win10_writers-block/config.h @@ -1,7 +1,4 @@ -#ifndef KEYBOARDS_ERGODOX_CONFIG_H_ -#define KEYBOARDS_ERGODOX_CONFIG_H_ - -#include QMK_KEYBOARD_CONFIG_H +#pragma once #undef MOUSEKEY_DELAY #undef MOUSEKEY_INTERVAL @@ -31,5 +28,3 @@ get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ ) - -#endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */ diff --git a/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h b/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h index 3c3d9b8858..33e9342039 100644 --- a/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h +++ b/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once /* Use I2C or Serial, not both */ @@ -33,5 +30,3 @@ along with this program. If not, see . #define MASTER_LEFT // #define _MASTER_RIGHT // #define EE_HANDS - -#endif \ No newline at end of file diff --git a/layouts/community/ortho_4x12/crs/config.h b/layouts/community/ortho_4x12/crs/config.h index 3c3d9b8858..33e9342039 100644 --- a/layouts/community/ortho_4x12/crs/config.h +++ b/layouts/community/ortho_4x12/crs/config.h @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once /* Use I2C or Serial, not both */ @@ -33,5 +30,3 @@ along with this program. If not, see . #define MASTER_LEFT // #define _MASTER_RIGHT // #define EE_HANDS - -#endif \ No newline at end of file diff --git a/layouts/community/ortho_4x12/ergodoxish/config.h b/layouts/community/ortho_4x12/ergodoxish/config.h index 3c3d9b8858..33e9342039 100644 --- a/layouts/community/ortho_4x12/ergodoxish/config.h +++ b/layouts/community/ortho_4x12/ergodoxish/config.h @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include QMK_KEYBOARD_CONFIG_H +#pragma once /* Use I2C or Serial, not both */ @@ -33,5 +30,3 @@ along with this program. If not, see . #define MASTER_LEFT // #define _MASTER_RIGHT // #define EE_HANDS - -#endif \ No newline at end of file diff --git a/layouts/community/tkl_ansi/talljoe-tkl/config.h b/layouts/community/tkl_ansi/talljoe-tkl/config.h index 15869ed0b6..8433461044 100644 --- a/layouts/community/tkl_ansi/talljoe-tkl/config.h +++ b/layouts/community/tkl_ansi/talljoe-tkl/config.h @@ -16,8 +16,6 @@ #pragma once -#include QMK_KEYBOARD_CONFIG_H - #define ENABLE_GAME_LAYER #define TEMPLATE_TKL(\ -- cgit v1.2.3