Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove keymap_config extern from default keymaps #7399

Merged
merged 2 commits into from
Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion keyboards/adkb96/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/instant60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/ortho48/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/ortho60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/practice60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/cannonkeys/practice65/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/christmas_tree/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

enum layers {
_BASE,
Expand Down
1 change: 0 additions & 1 deletion keyboards/ckeys/handwire_101/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ enum custom_keycodes {
CKEYS_ABOUT,
};

extern keymap_config_t keymap_config;

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BASE (numpad)
Expand Down
1 change: 0 additions & 1 deletion keyboards/ckeys/obelus/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* LAYERS
Expand Down
1 change: 0 additions & 1 deletion keyboards/claw44/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "ssd1306.h"
#endif

extern keymap_config_t keymap_config;

extern uint8_t is_master;

Expand Down
1 change: 0 additions & 1 deletion keyboards/contra/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

enum planck_layers {
_QWERTY,
Expand Down
1 change: 0 additions & 1 deletion keyboards/crkbd/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#ifdef RGBLIGHT_ENABLE
//Following line allows macro to read current RGB settings
Expand Down
1 change: 0 additions & 1 deletion keyboards/daisy/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Layer shorthand
#define _BL 0
Expand Down
1 change: 0 additions & 1 deletion keyboards/deltasplit75/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/diverge3/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ qk_tap_dance_action_t tap_dance_actions[] = {
};

// KEYMAP
extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
1 change: 0 additions & 1 deletion keyboards/divergetm2/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/eco/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
2 changes: 0 additions & 2 deletions keyboards/ergo42/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define BASE 0
#define META 1
Expand Down Expand Up @@ -64,4 +63,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)

};

1 change: 0 additions & 1 deletion keyboards/ergodash/mini/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergodash/rev1/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergotravel/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
1 change: 0 additions & 1 deletion keyboards/fortitude60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/hadron/ver2/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifdef SSD1306OLED
#include "ssd1306.h"
#endif
extern keymap_config_t keymap_config;

//Following line allows macro to read current RGB settings
extern rgblight_config_t rgblight_config;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _BASE 0
#define _RAISE 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _BASE 0
#define _RAISE 1
Expand Down Expand Up @@ -84,4 +83,3 @@ void persistent_default_layer_set(uint16_t default_layer) {
eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down Expand Up @@ -48,5 +47,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______,_______, _______,_______
),
};


Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down Expand Up @@ -52,4 +51,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),

};

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <keymap_colemak.h>
#include <sendstring_colemak.h>

extern keymap_config_t keymap_config;

// Automatic Layer ID:
enum layer_names {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
2 changes: 0 additions & 2 deletions keyboards/handwired/jot50/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down Expand Up @@ -81,4 +80,3 @@ uint32_t layer_state_set_user(uint32_t state) {

void matrix_init_user(void) {
}

2 changes: 0 additions & 2 deletions keyboards/handwired/jotanck/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down Expand Up @@ -119,4 +118,3 @@ void matrix_scan_user(void) {
reset_keyboard();
}
}

1 change: 0 additions & 1 deletion keyboards/handwired/jotpad16/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/minorca/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/promethium/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ enum glow_modes {
uint8_t glow_mode = GLOW_MIN;

void turn_off_capslock(void);
extern keymap_config_t keymap_config;

// layers, ordering is important!
enum layers {
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/qc60/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/terminus_mini/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/xealous/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;


// Each layer gets a name for readability, which is then used in the keymap matrix below.
Expand Down
1 change: 0 additions & 1 deletion keyboards/helix/pico/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "ssd1306.h"
#endif

extern keymap_config_t keymap_config;

#ifdef RGBLIGHT_ENABLE
//Following line allows macro to read current RGB settings
Expand Down
1 change: 0 additions & 1 deletion keyboards/helix/rev1/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/helix/rev2/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "ssd1306.h"
#endif

extern keymap_config_t keymap_config;

#ifdef RGBLIGHT_ENABLE
//Following line allows macro to read current RGB settings
Expand Down
1 change: 0 additions & 1 deletion keyboards/ivy/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/dilly/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _BASE 0
#define _FN1 1
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/iris/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/levinson/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/nyquist/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/quefrency/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
Expand Down
1 change: 0 additions & 1 deletion keyboards/keebio/rorschach/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

#define _QWERTY 0
#define _LOWER 1
Expand Down
Loading