mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-24 02:05:01 +06:00
Remove redundant KC_TRNS and KC_NO fillers in userspace (#5140)
This commit is contained in:
parent
83de3dff01
commit
e04e55c872
@ -3,8 +3,6 @@
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
// Use 7 wide characters for keymaps
|
||||
#define _______ KC_TRNS
|
||||
#define XXX KC_NO
|
||||
|
||||
// Layers
|
||||
|
@ -44,8 +44,6 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
|
||||
#define KC_ADJS TT(_ADJUST)
|
||||
#define KC_NUMS TT(_LOWER)
|
||||
#define KC_GAME TT(_DIABLO)
|
||||
#define XXXXXXX KC_NO
|
||||
#define _______ KC_TRNS
|
||||
|
||||
// Other Keycodes
|
||||
#define KC_RST RESET
|
||||
|
@ -6,11 +6,9 @@
|
||||
|
||||
|
||||
// Fillers to make layering more clear
|
||||
#define _______ KC_TRNS
|
||||
#define ________ KC_TRNS
|
||||
#define _________ KC_TRNS
|
||||
#define _XXXXXX_ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
// KC codes that are too long
|
||||
#define DOLLAR KC_DOLLAR
|
||||
|
@ -43,9 +43,6 @@ enum userspace_keycodes {
|
||||
#define LOWER MO(_LOWER)
|
||||
#define RAISE MO(_RAISE)
|
||||
|
||||
// Fillers to make layering more clear
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
// Custom macros
|
||||
#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
|
||||
@ -237,4 +234,4 @@ NOTE: These are all the same length. If you do a search/replace
|
||||
|
||||
|
||||
|
||||
#endif // !USERSPACE
|
||||
#endif // !USERSPACE
|
||||
|
@ -3,9 +3,6 @@
|
||||
|
||||
/* Custom keys & combinations to be shorter for keymaps */
|
||||
#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 TD_CTL TD(TD_CTL_CTLALT)
|
||||
|
@ -55,8 +55,6 @@ enum user_tapdance {
|
||||
|
||||
// Custom Keycodes
|
||||
#define KC_ KC_TRNS
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
#define KC_xxxx KC_NO
|
||||
#define KC_LOWR LOWER
|
||||
#define KC_RASE RAISE
|
||||
|
@ -6,9 +6,4 @@
|
||||
This file holds some commen NQN definitions
|
||||
*/
|
||||
|
||||
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -20,7 +20,6 @@
|
||||
// #define L_LL_I 10
|
||||
|
||||
// Keyboard aliases
|
||||
#define _______ KC_TRNS
|
||||
#define ooooooo KC_TRNS
|
||||
|
||||
#define MO_FUNC MO(L_FUNC)
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
// Use 7 wide characters for keymaps
|
||||
#define _______ KC_TRNS
|
||||
#define XXX KC_NO
|
||||
|
||||
// Layers
|
||||
|
@ -35,9 +35,6 @@ enum tap_dancers {
|
||||
TD_QUOTE,
|
||||
};
|
||||
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
#define MO_NAV MO(_NAV)
|
||||
#define MO_ADJ MO(_ADJUST)
|
||||
#define MO_RST MO(_RESET)
|
||||
|
@ -11,7 +11,6 @@ enum custom_keycodes {
|
||||
NEW_SAFE_RANGE
|
||||
};
|
||||
|
||||
#define _______ KC_TRNS
|
||||
#define KC_RGUP RGUP
|
||||
#define KC_RGDWN RGDWN
|
||||
#define KC_YREG YREG
|
||||
|
Loading…
Reference in New Issue
Block a user