summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-02-17 03:11:15 +1100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-16 08:11:15 -0800
commitbbd4b5eb887a9e5065765d2d6f2ac919d81a38c6 (patch)
tree353ba8fe0818e921cbf0fb48a9813f1fe23a4bb4
parent3309e91e0b6c7edc0c164e25ff1638c4852b40e7 (diff)
Remove redundant KC_TRNS and KC_NO fillers in layouts (#5142)
-rw-r--r--layouts/community/ergodox/adam/keymap.c3
-rw-r--r--layouts/community/ergodox/belak/keymap.c1
-rw-r--r--layouts/community/ergodox/familiar/keymap.c4
-rw-r--r--layouts/community/ergodox/haegin/keymap.c2
-rw-r--r--layouts/community/ergodox/meagerfindings/keymap.c1
-rw-r--r--layouts/community/ergodox/xyverz/keymap.c5
-rw-r--r--layouts/community/ortho_4x12/bakingpy/keymap.c1
-rw-r--r--layouts/community/ortho_4x12/colemak_mod_dh_wide/keymap.c4
-rw-r--r--layouts/community/ortho_4x12/crs/keymap.c4
-rw-r--r--layouts/community/ortho_4x12/ergodoxish/keymap.c6
-rw-r--r--layouts/community/ortho_4x12/grahampheath/keymap.c4
-rw-r--r--layouts/community/ortho_4x12/mindsound/keymap.c4
-rw-r--r--layouts/community/ortho_4x12/symbolic/keymap.c6
-rw-r--r--layouts/community/ortho_4x12/xyverz/keymap.c4
-rw-r--r--layouts/community/ortho_5x12/xyverz/keymap.c4
-rw-r--r--layouts/default/numpad_5x4/default_numpad_5x4/keymap.c3
-rw-r--r--layouts/default/ortho_5x4/default_ortho_5x4/keymap.c3
17 files changed, 1 insertions, 58 deletions
diff --git a/layouts/community/ergodox/adam/keymap.c b/layouts/community/ergodox/adam/keymap.c
index e99e5d4535..100bb68198 100644
--- a/layouts/community/ergodox/adam/keymap.c
+++ b/layouts/community/ergodox/adam/keymap.c
@@ -11,9 +11,6 @@
#define SFLOCK 11 // symbols arrows and F keys on F held down
#define SJLOCK 12 // same as Flock but with fall thru J and mapped to J held down
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
// Sends macro when key is tapped, presses mod when key is held
#define tap_mod_macro(record, mod, macro) ( ((record)->event.pressed) ? \
( ((record)->tap.count <= 0 || (record)->tap.interrupted) ? MACRO(D(mod), END) : MACRO_NONE ) : \
diff --git a/layouts/community/ergodox/belak/keymap.c b/layouts/community/ergodox/belak/keymap.c
index 016cf30b4b..bca0dec913 100644
--- a/layouts/community/ergodox/belak/keymap.c
+++ b/layouts/community/ergodox/belak/keymap.c
@@ -5,7 +5,6 @@
#include "eeprom.h"
#define LAYER_ON(pos) ((layer_state) & (1<<(pos)))
-#define _______ KC_TRNS
#define EECONFIG_BELAK_MAGIC (uint16_t)0xBE42
diff --git a/layouts/community/ergodox/familiar/keymap.c b/layouts/community/ergodox/familiar/keymap.c
index bc513c0cc4..b359a91d36 100644
--- a/layouts/community/ergodox/familiar/keymap.c
+++ b/layouts/community/ergodox/familiar/keymap.c
@@ -10,10 +10,6 @@
#define NUMP 3 // numpad
#define ARRW 4 // function, media, arrow keys
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
// Tap Dancing
void dance_lock (qk_tap_dance_state_t *state, void *user_data) {
if (state->count == 1) { // Press once for NUMLOCK
diff --git a/layouts/community/ergodox/haegin/keymap.c b/layouts/community/ergodox/haegin/keymap.c
index aa017c8ea5..fc6ec57622 100644
--- a/layouts/community/ergodox/haegin/keymap.c
+++ b/layouts/community/ergodox/haegin/keymap.c
@@ -9,8 +9,6 @@
#define SYMBOLS 1 // symbols
#define MEDIA 2 // media keys
-#define _______ KC_TRNS
-
enum {
TD_BSPC = 0
};
diff --git a/layouts/community/ergodox/meagerfindings/keymap.c b/layouts/community/ergodox/meagerfindings/keymap.c
index 62504f9667..f4340b8e1b 100644
--- a/layouts/community/ergodox/meagerfindings/keymap.c
+++ b/layouts/community/ergodox/meagerfindings/keymap.c
@@ -42,7 +42,6 @@ enum custom_keycodes {
};
//Redefine Key Names for Readaibilty
-#define XXXXXXX KC_NO
#define SCRN_CLIPB LCTL(LGUI(LSFT(KC_4)))
#define CHRM_L LALT(LGUI(KC_LEFT)) //Move left one tab in Chrome
#define CHRM_R LALT(LGUI(KC_RIGHT)) //Move right one tab in Chrome
diff --git a/layouts/community/ergodox/xyverz/keymap.c b/layouts/community/ergodox/xyverz/keymap.c
index fe9080c2d6..eeeded47fc 100644
--- a/layouts/community/ergodox/xyverz/keymap.c
+++ b/layouts/community/ergodox/xyverz/keymap.c
@@ -31,11 +31,6 @@ extern keymap_config_t keymap_config;
#define QWERTY M(_QW)
#define COLEMAK M(_CM)
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 0 : Dvorak
diff --git a/layouts/community/ortho_4x12/bakingpy/keymap.c b/layouts/community/ortho_4x12/bakingpy/keymap.c
index 06e4a589c5..71672d0513 100644
--- a/layouts/community/ortho_4x12/bakingpy/keymap.c
+++ b/layouts/community/ortho_4x12/bakingpy/keymap.c
@@ -21,7 +21,6 @@ enum custom_keycodes {
};
#define KC_ KC_TRNS
-#define _______ KC_TRNS
#define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen
#define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen
diff --git a/layouts/community/ortho_4x12/colemak_mod_dh_wide/keymap.c b/layouts/community/ortho_4x12/colemak_mod_dh_wide/keymap.c
index 218ff93741..c8da7f589f 100644
--- a/layouts/community/ortho_4x12/colemak_mod_dh_wide/keymap.c
+++ b/layouts/community/ortho_4x12/colemak_mod_dh_wide/keymap.c
@@ -20,10 +20,6 @@ enum custom_keycodes {
ADJUST,
};
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Colemak
diff --git a/layouts/community/ortho_4x12/crs/keymap.c b/layouts/community/ortho_4x12/crs/keymap.c
index f9c72f2543..2ec2ffba9f 100644
--- a/layouts/community/ortho_4x12/crs/keymap.c
+++ b/layouts/community/ortho_4x12/crs/keymap.c
@@ -33,10 +33,6 @@ enum custom_keycodes {
EXT_PLV
};
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
diff --git a/layouts/community/ortho_4x12/ergodoxish/keymap.c b/layouts/community/ortho_4x12/ergodoxish/keymap.c
index 49600aa33e..7c844c6b3a 100644
--- a/layouts/community/ortho_4x12/ergodoxish/keymap.c
+++ b/layouts/community/ortho_4x12/ergodoxish/keymap.c
@@ -24,10 +24,6 @@ enum custom_keycodes {
ADJUST,
};
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
@@ -211,4 +207,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
}
return true;
-} \ No newline at end of file
+}
diff --git a/layouts/community/ortho_4x12/grahampheath/keymap.c b/layouts/community/ortho_4x12/grahampheath/keymap.c
index 0b84b66eb8..7b35c52e71 100644
--- a/layouts/community/ortho_4x12/grahampheath/keymap.c
+++ b/layouts/community/ortho_4x12/grahampheath/keymap.c
@@ -54,10 +54,6 @@ enum custom_keycodes {
#define HYPR_1 HYPR(KC_EXLM) // Send Hyper + !.
#define HYPR_2 HYPR(KC_AT) // Send Hyper + @.
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
diff --git a/layouts/community/ortho_4x12/mindsound/keymap.c b/layouts/community/ortho_4x12/mindsound/keymap.c
index 2c9ceaf690..03b0486c58 100644
--- a/layouts/community/ortho_4x12/mindsound/keymap.c
+++ b/layouts/community/ortho_4x12/mindsound/keymap.c
@@ -33,10 +33,6 @@ const uint8_t flicker_max_levels = 7;
uint8_t flicker_restore_level = 0;
#endif
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)
diff --git a/layouts/community/ortho_4x12/symbolic/keymap.c b/layouts/community/ortho_4x12/symbolic/keymap.c
index d4c0892368..1e5494d96e 100644
--- a/layouts/community/ortho_4x12/symbolic/keymap.c
+++ b/layouts/community/ortho_4x12/symbolic/keymap.c
@@ -19,12 +19,6 @@ enum custom_keycodes {
R_RAISE
};
-
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Qwerty
diff --git a/layouts/community/ortho_4x12/xyverz/keymap.c b/layouts/community/ortho_4x12/xyverz/keymap.c
index 72ddbacf82..681dafacd4 100644
--- a/layouts/community/ortho_4x12/xyverz/keymap.c
+++ b/layouts/community/ortho_4x12/xyverz/keymap.c
@@ -24,10 +24,6 @@ enum custom_keycodes {
ADJUST
};
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
// Aliases to keep the keymap tidy
#define GUIBSPC GUI_T(KC_BSPC) // GUI when held, BSPC when tapped.
#define RGB_SWR RGB_M_SW // Swirl Animation alias
diff --git a/layouts/community/ortho_5x12/xyverz/keymap.c b/layouts/community/ortho_5x12/xyverz/keymap.c
index 23a456e6d6..bbf1d7bb0e 100644
--- a/layouts/community/ortho_5x12/xyverz/keymap.c
+++ b/layouts/community/ortho_5x12/xyverz/keymap.c
@@ -24,10 +24,6 @@ enum custom_keycodes {
ADJUST,
};
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
// Aliases to keep the keymap tidy
#define GUIBSPC GUI_T(KC_BSPC) // GUI when held, BSPC when tapped.
#define RGB_SWR RGB_M_SW // Swirl Animation alias
diff --git a/layouts/default/numpad_5x4/default_numpad_5x4/keymap.c b/layouts/default/numpad_5x4/default_numpad_5x4/keymap.c
index 1d68fb2f84..0e913248f2 100644
--- a/layouts/default/numpad_5x4/default_numpad_5x4/keymap.c
+++ b/layouts/default/numpad_5x4/default_numpad_5x4/keymap.c
@@ -1,8 +1,5 @@
#include QMK_KEYBOARD_H
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_numpad_5x4(
TG(1), KC_PSLS, KC_PAST, KC_PMNS, \
diff --git a/layouts/default/ortho_5x4/default_ortho_5x4/keymap.c b/layouts/default/ortho_5x4/default_ortho_5x4/keymap.c
index 061f06c381..39d397d909 100644
--- a/layouts/default/ortho_5x4/default_ortho_5x4/keymap.c
+++ b/layouts/default/ortho_5x4/default_ortho_5x4/keymap.c
@@ -1,8 +1,5 @@
#include QMK_KEYBOARD_H
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
enum custom_keycodes {
KC_P00 = SAFE_RANGE
};