Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140)

This commit is contained in:
fauxpark 2019-02-16 11:18:13 +11:00 committed by MechMerlin
parent 83de3dff01
commit e04e55c872
11 changed files with 1 additions and 27 deletions

View File

@ -3,8 +3,6 @@
#include "quantum.h" #include "quantum.h"
// Use 7 wide characters for keymaps
#define _______ KC_TRNS
#define XXX KC_NO #define XXX KC_NO
// Layers // Layers

View File

@ -44,8 +44,6 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
#define KC_ADJS TT(_ADJUST) #define KC_ADJS TT(_ADJUST)
#define KC_NUMS TT(_LOWER) #define KC_NUMS TT(_LOWER)
#define KC_GAME TT(_DIABLO) #define KC_GAME TT(_DIABLO)
#define XXXXXXX KC_NO
#define _______ KC_TRNS
// Other Keycodes // Other Keycodes
#define KC_RST RESET #define KC_RST RESET

View File

@ -6,11 +6,9 @@
// Fillers to make layering more clear // Fillers to make layering more clear
#define _______ KC_TRNS
#define ________ KC_TRNS #define ________ KC_TRNS
#define _________ KC_TRNS #define _________ KC_TRNS
#define _XXXXXX_ KC_TRNS #define _XXXXXX_ KC_TRNS
#define XXXXXXX KC_NO
// KC codes that are too long // KC codes that are too long
#define DOLLAR KC_DOLLAR #define DOLLAR KC_DOLLAR

View File

@ -43,9 +43,6 @@ enum userspace_keycodes {
#define LOWER MO(_LOWER) #define LOWER MO(_LOWER)
#define RAISE MO(_RAISE) #define RAISE MO(_RAISE)
// Fillers to make layering more clear
#define _______ KC_TRNS
#define XXXXXXX KC_NO
// Custom macros // Custom macros
#define CTL_ESC CTL_T(KC_ESC) // Tap for Esc, hold for Ctrl #define CTL_ESC CTL_T(KC_ESC) // Tap for Esc, hold for Ctrl
#define CTL_TTAB CTL_T(KC_TAB) // Tap for Esc, hold for Ctrl #define CTL_TTAB CTL_T(KC_TAB) // Tap for Esc, hold for Ctrl

View File

@ -3,9 +3,6 @@
/* Custom keys & combinations to be shorter for keymaps */ /* Custom keys & combinations to be shorter for keymaps */
#define KC_LCA LCA(KC_NO) #define KC_LCA LCA(KC_NO)
/* Fillers to make layering more clear */
#define _______ KC_TRNS
#define XXXXXXX KC_NO
#define OSM_LSFT OSM(MOD_LSFT) #define OSM_LSFT OSM(MOD_LSFT)
#define TD_CTL TD(TD_CTL_CTLALT) #define TD_CTL TD(TD_CTL_CTLALT)

View File

@ -55,8 +55,6 @@ enum user_tapdance {
// Custom Keycodes // Custom Keycodes
#define KC_ KC_TRNS #define KC_ KC_TRNS
#define _______ KC_TRNS
#define XXXXXXX KC_NO
#define KC_xxxx KC_NO #define KC_xxxx KC_NO
#define KC_LOWR LOWER #define KC_LOWR LOWER
#define KC_RASE RAISE #define KC_RASE RAISE

View File

@ -6,9 +6,4 @@
This file holds some commen NQN definitions This file holds some commen NQN definitions
*/ */
#define _______ KC_TRNS
#define XXXXXXX KC_NO
#endif #endif

View File

@ -20,7 +20,6 @@
// #define L_LL_I 10 // #define L_LL_I 10
// Keyboard aliases // Keyboard aliases
#define _______ KC_TRNS
#define ooooooo KC_TRNS #define ooooooo KC_TRNS
#define MO_FUNC MO(L_FUNC) #define MO_FUNC MO(L_FUNC)

View File

@ -4,8 +4,6 @@
#include "quantum.h" #include "quantum.h"
// Use 7 wide characters for keymaps
#define _______ KC_TRNS
#define XXX KC_NO #define XXX KC_NO
// Layers // Layers

View File

@ -35,9 +35,6 @@ enum tap_dancers {
TD_QUOTE, TD_QUOTE,
}; };
#define _______ KC_TRNS
#define XXXXXXX KC_NO
#define MO_NAV MO(_NAV) #define MO_NAV MO(_NAV)
#define MO_ADJ MO(_ADJUST) #define MO_ADJ MO(_ADJUST)
#define MO_RST MO(_RESET) #define MO_RST MO(_RESET)

View File

@ -11,7 +11,6 @@ enum custom_keycodes {
NEW_SAFE_RANGE NEW_SAFE_RANGE
}; };
#define _______ KC_TRNS
#define KC_RGUP RGUP #define KC_RGUP RGUP
#define KC_RGDWN RGDWN #define KC_RGDWN RGDWN
#define KC_YREG YREG #define KC_YREG YREG